The part won't face the player like I want it to, but no errors?
Basically, I have a script and a BodyGyro in a part. The part is not anchored or cancollide, but it has a BodyPosition object to hold it in place. What I want to do is have the part always face the player (I'm going to make it a local part so each player sees it face them, but that's later). However, whenever I run the script in solo, it does not make the object face the player, but throws no errors. Why is this?
1 | game.Players.PlayerAdded:connect( function (plr) |
4 | player = game.Players:GetPlayerFromCharacter(plr) |
6 | script.Parent.BodyGyro.cframe = CFrame.new(player.HumanoidRootPart.Position) |
Thank you for any feedback, advice, or changes you have.