game.Players.PlayerAdded:connect(function(plr)
repeat wait() until plr.Character
while wait() do
script.Parent.BodyGyro.cframe=plr.Character.Torso.CFrame
end
end)
This script will not work. :(
game.Players.PlayerAdded:connect(function(plr)
repeat wait() until plr.Character
while wait() do
script.Parent.BodyGyro.cframe=plr.Character.Torso.CFrame
end
end)
This script will not work. :(
Well "cframe" needs to be capitalized.
ent.BodyGyro.CFrame=plr.Cha
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
@Grenaderade, "cframe" is the property for BodyGyros. Check the wiki
Correct, the BodyMover objects name their properties different from normal objects. BodyGyro.CFrame would be wrong, just like BodyVelocity.Velocity would be. About your script, could the "repeat until plr.Character" line be replaced by a WaitForChild() method? I haven't used repeat much personally...
Well, sorry, I don't know much about BodyGyros and scripting.