SHOW:
|
|
- or go back to the newest paste.
1 | local plr = game:service"Players".LocalPlayer; | |
2 | local tween_s = game:service"TweenService"; | |
3 | local info = TweenInfo.new(1,Enum.EasingStyle.Quad); | |
4 | function tp(...) | |
5 | local tic_k = tick(); | |
6 | local params = {...}; | |
7 | local cframe = CFrame.new(params[1],params[2],params[3]); | |
8 | local tween,err = pcall(function() | |
9 | local tween = tween_s:Create(plr.Character["HumanoidRootPart"],info,{CFrame=cframe}); | |
10 | tween:Play(); | |
11 | end) | |
12 | if not tween then return err end | |
13 | end | |
14 | tp(253.99,-83.01,-75.82); |