so. i have a game, when played you spawn in as a noob (the dummy). you can move around, but when you die and the dummy respawns, the script sets your character to the dummy, but unable to move now? (and the actual me does NOT respawn.) can anybody find a solution please? code for change character script: (script is in game.StarterPlayer.StarterPlayerScripts)
wait(5)
char = script.Parent.Parent.Character
script.Parent.Parent.Character = workspace.Dummy
char:Destroy()
print("doi")
workspace.Dummy.Humanoid.Died:Connect(function()
script.Parent.Parent.Character = workspace.aaaaaaaaaaaaaaaa
wait(10)
print("jhonny")
char = script.Parent.Parent.Character
script.Parent.Parent.Character = workspace.Dummy
char:Destroy()
end)

1 comment
sorry, i am not working on this project anymore, but thanks! i will keep this in mind for later in other games. have fun with the stuff