1 | function Click(mouse) |
2 | script.Parent.Parent.Parent.Parent.Parent.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13645" |
3 | script.Parent.Parent.Parent.Parent.Parent.Character:BreakJoints() |
4 | end |
5 |
6 | script.Parent.MouseButton 1 Down:connect(Click) |
Use LoadCharacter. LoadCharacter Can also be used to make custom respawn times.
1 | game.Players.Player 1 :LoadCharacter() |
Finished Product:
1 | function Click(mouse) |
2 | script.Parent.Parent.Parent.Parent.Parent.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13645" |
3 | script.Parent.Parent.Parent.Parent.Parent:LoadCharacter() |
4 | end |
5 |
6 | script.Parent.MouseButton 1 Down:connect(Click) |
Sorry, I hope It helps, It's late.