Changing character to dummy but unable to move?
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)
03 | char = script.Parent.Parent.Character |
05 | script.Parent.Parent.Character = workspace.Dummy |
11 | workspace.Dummy.Humanoid.Died:Connect( function () |
13 | script.Parent.Parent.Character = workspace.aaaaaaaaaaaaaaaa |
19 | char = script.Parent.Parent.Character |
21 | script.Parent.Parent.Character = workspace.Dummy |