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

How do i make a teleporter gui?

Asked by 10 years ago

Why won't this work?

wait(1)
player = game.Players.LocalPlayer
button = script.Parent

function SuperPart()
torso = player.Character.Torso
torso.CFrame = game.Workspace.SuperPart.CFrame
end

button.MouseButton1Click:connect(SuperPart)

1 answer

Log in to vote
0
Answered by 10 years ago
wait(1)
player = game.Players.LocalPLayer
button = script.Parent

function SuperPart()
torso = player.Character.Torso
player.Character:MoveTo(Vector3.new(game.Workspace.SuperPart.Position))
end
button.MouseButton1Click:connect(SuperPart)

Hope I helped! I was told to explain. Okay, I nade it so when the button is clicked. It'll move a model to the put position.

0
At least explain what you did, so he can learn. Perci1 4988 — 10y
0
Thank god i'm a boy because you said he. iluvmaths1123 198 — 10y
Ad

Answer this question