TeleportToAccount

InStore util to teleport the user to the account center.

Utils.TeleportToAccount

function (Player)

Teleport a user to the Insource Account Center. Returns nil. This will fail if Third Party Teleports is not enabled in Game Settings.

Arguments

Field
Type
Description

Player

Player

the player object to teleport

Example Script

local Player = game.Players.LocalPlayer;
local RS = game.ReplicatedStorage:WaitForChild('InStore');
local TeleportToAccount = require(RS.Utils.TeleportToAccount);

TeleportToAccount(Player); --> Teleports the user to the account center

Last updated