Skip to main content

MLPlayer.Teleport(Vector3 location)

Teleports the player root to the desired location.

Parameters:

NameTypeDescription
locationVector3Where the player will be teleported.

Usage

---@type MLPlayer
local mlplayer;

---@type Vector3
local location;


mlplayer.Teleport(location)