Part keeping a distance while looping tween for no reasons


hello im trying to tween a ball that is supposed to come to the player smoothly then dissapear on touch but the ball seems to be too slow so the player can easly escape from it and i cant understand how to fix that

while true do wait()
					local position2  = HumanoidRootPart.CFrame
			TweenService:Create(clone, TweenInfo.new(0.05, Enum.EasingStyle.Linear), {["CFrame"]=position2}):Play()
			
			clone.Touched:Connect(function(PLR)
				
				clone:Destroy()
					wait(10)
					debounce = true
3 Likes

I think de Humanoid don’t have CFrame, change to local position2 = HumanoidRootPart.CFrame

1 Like

its already HRP but i dont know why i nammed it humanoid

1 Like