local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(char) while true do script.Parent:SetPrimaryPartCFrame(script.Parent.Torso.CFrame, char.HumanoidRootPart.CFrame) wait(0.5) end end) end)
I'm not good at working with vectors and CFrame:(
First of all, make sure you have set a part to be the primary part.
Secondly, there is only one parameter for the SetPrimaryPartCFrame function—a CFrame value.
Try doing: script.Parent:SetPrimaryParyCFrame(CFrame.new(script.Parent.PrimaryPart.Position, char.HumanoidRootPart.Position))