local i = script.Parent
local map = workspace.Stadium.sa
local gui = script.Parent.Parent.Parent
local tele1 = game.Lighting.Tele1
function onButtonClicked()
local plr = game.Players.LocalPlayer
local character = plr.Character
if (plr and character ~= nil) then
character:MoveTo(map.Position)
tele1:Clone().Parent = plr.PlayerGui
script.Parent.Parent.Parent:Destroy()
end
end
i.MouseButton1Down:connect(onButtonClicked)
I've re wrote it countless times, I browsed the wiki, This is my last resort! Thanks for any help.

1 comment
Is it in a LocalScript?