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

Now my BodyGyro won't work?

Asked by 9 years ago

From a previous question I asked just yesterday I have developed a script now with a BodyGyro instead of a BodyPosition. The goal here is to make a model I made (Navi) to face the player at all times. I already made her follow me and this is the finishing touch

game.Players.PlayerAdded:connect(function(p)
    p.CharacterAdded:connect(function(c)
        spawn(function()
            while wait() do
                script.Parent.PartBase1.BodyGyro.cframe = CFrame.new(script.Parent.PartBase1.Position, c.Head.Position)
            end
        end)
    end)
end)

There is nothing in the output so I don't know whats going on. The BodyGyro does not work and Navi is just staring off in some random direction

Answer this question