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