Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Trying to get BodyGyro to work?

Asked by 9 years ago

so this script works fine, only problem is I want the model to rotate and face me by using the BodyGyro I tried this out but the model still stay fixed in one rotation, is there some way to fix this?

post = script.Parent.Torso.BodyPosition
rost = script.Parent.Torso.BodyGyro
torsol = game.Players.Player.Character.Torso
torsov = script.Parent.Torso

while true do
    wait(0.1)
    post.position = (torsol.CFrame*CFrame.new(0, 0, 10)).p
    rost.cframe = torsol.CFrame*CFrame.new(0, 0, 0)
end

Answer this question