How do I make player move with a part?

script:


while task.wait()  do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.01,0)
end

2 Likes

to set the CFrame of a character or a model, you should be using :SetPivot() instead of directly manipulating the CFrame of the humanoidrootpart

how I could do that? Sorry I’m newbie in scripting.

2 Likes

Hey, do you still need help? If so, could you elaborate/explain what you are trying to do? Are you trying to make it so if the player moves, the part moves with them, or the player moves with the part?

Yes, I’m still need someone to help.