• how to save player position?
    2 replies, posted
More - I want build back teleport ability, but how to save zero-position and re-save every 100 unit? For example - Player stand, nothing Player step at 2000 units and use ability and return to zero-unit Player step at 2100 units and use ability and return to 100th unit, and 100th unit is new zero-unit
ply:GetPos()
you could have something like player._lastpos = player:GetPos() when they want to save their pos, then when they want to teleport you check if player._lastpos is valid, if it is then player:SetPos(player._lastpos). If they want to save a new spot just do the first thing again
Sorry, you need to Log In to post a reply to this thread.