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

Can someone help me with TeleportService?

Can't seem to get this working. Any help is appreciated

--!
local x = script.Parent
x.Parent = game.StarterGui
x.Adornee = game.Workspace.TpButton.Parts



function onclicked()
game:GetService('TeleportService'):Teleport(147513144, game.Workspace.LocalPlayer)
end

x.TeleportButton.MouseButton1Down:connect(onclicked)


2 comments

0

Put this into a LocalScript and it should work for you

0

It is in a ls

1 answer

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