#dash system

16 messages · Page 1 of 1 (latest)

dense summit
#

You should use :PivotTo()

local function teleport(player, distance)
    local current = player.Character:GetPivot()
    player.Character:PivotTo(current + current.LookVector * distance)
end
elfin thistle
#

yo

#

how u did this thing

#

i mean color

#

@dense summit

dense summit
#

Open your code-block with: ```lua

elfin thistle
#

aa

#

ty

dense summit
#
print(1,2,3)
foreach($x as $y) echo $y;
#

works for lots of languages

elfin thistle
#
local
#

tysm

dense summit
#

It moves the entire model correctly so you don't run into CFrame math bugs or just moving one part of a more complex model etc

#

roblox adds new stuff so often, it's tough to keep up -- but yeah you should absolutely use that instead of manually setting CFrames or :SetPrimaryPartCFrame() etc