Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
Akozta 40
9 years ago
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)
0
It's late as in it's night time; also, please accept my answer. (Click the accept button next to my answer.) EzraNehemiah_TF2 3552 — 9y
0
Hello? EzraNehemiah_TF2 3552 — 9y
0
Ya I accepted it Akozta 40 — 9y

1 answer

Log in to vote
1
Answered by 9 years ago

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
He meant it's late at night for him. Redbullusa 1580 — 9y
Ad

Answer this question