local TeleportService = game:GetService("TeleportService") gameID = game.Players.willie3838.PlayerGui.ScreenGui2.Teleport.Text function onTouched(hit,player) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then TeleportService:Teleport(gameID, player) end end script.Parent.Touched:connect(onTouched)
My script requires it to run local, but if there's a way to access the gui "ScreenGui2" without using the player name or LocalPlayer, please tell me.