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 |