for i = 1,10 do local player = game.Players.Player1 player.Character.Head.Position = player.Character.Head.Position:lerp(Vector3.new(game.Workspace.RockPart.Position.X, player.Character.Head.Position.Y, game.Workspace.RockPart.Position.Z), i) wait() end
When this code is ran in the command bar, all it does is teleport my head to the 'game.Workspace.RockPart' and I die. I am testing this script to figure out how to CFrame my character for a cutscene. Any idea on how to fix this?