I'm not a really good scripter so I can't really explain what happened. I've tried many scripts (with friends) to make a Surface gui that teleports a Player to a different game. Nothing worked. Can somone help me out?
local Part = script.Parent
local CD = Part.ClickDetector
local GameId = 00000000 --example
CD.MouseClick:connect(function(Player)
game:GetService('TeleportService'):Teleport(GameId, Player)
end)
Well, this script isn't really working and I deleted it. But keep in mind that it is a SURFACE GUI. Not a Screen Gui.
Thanks for any help!
