This code in workspace does not move the character. Any solution
script.Parent.cutedoge7575.Humanoid:MoveTo(game.Workspace.asdfasdfasdfhesgt.Position)
This code in workspace does not move the character. Any solution
script.Parent.cutedoge7575.Humanoid:MoveTo(game.Workspace.asdfasdfasdfhesgt.Position)
It's probably because your code tries to move a player before they join. You will need to make a function to wait until the character is loaded. Try this code:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character.Humanoid:MoveTo(game.Workspace.asdfasdfasdfhesgt.Position)
end)
end)
Make sure there is a while loop, since the position can change, and moveto isnt so great, it stops halfway.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Is "asdfasdfasdfhesgt" an existing part?
Yes