of     1   

GeneratedScript
#227596732Thursday, November 16, 2017 3:28 AM GMT

Ok, so I have a ScreenGUI, a local script inside of it, and a few textbuttons and textboxes. Inside the localscript is; local teleportService = game:GetService('TeleportService') function HopGames(p, target) local placeId, instanceId = teleportService:GetPlayerPlaceInstanceAsync(target) teleportService:TeleportToPlaceInstance(placeId, instanceId, p) end HopGames(game.Players.LocalPlayer, tonumber(script.Parent.HopMain.InputBox.Text)) and it shows the error as the same in the title; Argument 1 is missing or nil NOTE: GAME IS FE
200Ethan
#227597494Thursday, November 16, 2017 3:55 AM GMT

Are you running this before the player joins? If player is the first argument, then it means that there is no player joined yet. ("Argument 1 is missing or nil").
GeneratedScript
#227597847Thursday, November 16, 2017 4:10 AM GMT

So could I fix this by doing a repeat loop until player or...?
200Ethan
#227605855Thursday, November 16, 2017 2:45 PM GMT

Before the ScreenGui is being copied into the player, the script is executing. You can have a local player with a server script.
TheEpicMagical_Gamer
#227606320Thursday, November 16, 2017 3:22 PM GMT

If u can't figure it out then accept my friend request, so we can team create and I can help you.

    of     1