someone posted this in general discussion, but it obviously belongs here.
local _x,_y,_z = ConsoleCommandPlayer().Transform:GetWorldPosition(); local size, step, x, z; size = 800; step = 40; x,z = -size,-size;
local function tp() if x <= size + step then if z <= size + step then z = z + step else x = x + step; z = -size; end else return true end end;
local function dotp() ConsoleCommandPlayer().Physics:Teleport(x,0,z) if not tp() then TheWorld:DoTaskInTime( 0.033, dotp ) else ConsoleCommandPlayer().Physics:Teleport(_x,_y,_z) end end dotp()
https://www.bilibili.com/video/av67732595?from=search&seid=7094755697685542771
Steps to Reproduce
type command in any server client side
type command in any server client side
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now