I tried rotating a part that is affected by aweld but it didnt work.
Here is my script :
local weldPos = 0 local rot = 0 for i=1,6 do weldPos = weldPos - 0.035 rot = rot - 15 weld.C0 = circle.CFrame:inverse() * player.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,weldPos):inverse() * CFrame.Angles(math.rad(0), math.rad(0), math.rad(rot)) -- Everything except the CFrame.Angles work. I just cant find a way to rotate the part wait() end
Here are the weld properties :
local circle = game.Workspace.Part weld.Part0 = circle weld.Part1 = player.Character.HumanoidRootPart weld.C0 = circle.CFrame:inverse() * player.Character.HumanoidRootPart.CFrame * CFrame.new(1.35,1.50,-2):inverse()
As you can see, i want to rotate the circle, even though he's using a weld, but it doest work
Gif of what is happening : https://gfycat.com/ObviousYearlyGraysquirrel (Normally, the square is in front of the player's hand, but with the CFrame.Angles, it's not the same thing)