Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I change this from making them die, to making them teleport and look like the user?

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)

3 comments

0

It's late as in it's night time; also, please accept my answer. (Click the accept button next to my answer.)

0

Hello?

0

Ya I accepted it

1 answer

✓ Accepted answer

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.

1 comment

1

He meant it's late at night for him.

This discussion is preserved as it was. New answers, comments, and votes are closed.