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)
Have your starter character in workspace, name it "StarterCharacter" (has to be that name) and put it in StarterPlayer.