SHARE
TWEET

pche

jokianeee Jul 11th, 2019 153 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pos = Vector3.new(1108.0199, 101.158478, 1297.34399) if game:service'Players'.LocalPlayer:DistanceFromCharacter(pos) < 50 then _G.Teleport(pos) end
  2. lp  = game:service'Players'.LocalPlayer
  3.                     rs = game:service'RunService'.Stepped:Connect(function()
  4.                         local hrp = lp.Character:FindFirstChild'HumanoidRootPart'
  5.                         hrp.CFrame = CFrame.new(hrp.Position,pos)
  6.                         hrp.CFrame = hrp.CFrame + hrp.CFrame.lookVector*1
  7.                         hrp.Velocity = Vector3.new(hrp.Velocity.X,0,hrp.Velocity.Y)
  8.                         for i,v in pairs(lp.Character:GetChildren()) do
  9.                             if v:IsA'BasePart' then
  10.                                 v.CanCollide = false
  11.                             end
  12.                         end
  13.                         if lp:DistanceFromCharacter(pos) < 10 then
  14.                             rs:Disconnect()
  15.                         end
  16.                     end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top