L3RG3T

Invisible

Jul 22nd, 2021
932
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Local = game:GetService('Players').LocalPlayer
  2. Char  = Local.Character
  3. touched,tpdback = false, false
  4. Local.CharacterAdded:connect(function(char)
  5.     if script.Disabled ~= true then
  6.         wait(.25)
  7.         loc = Char.HumanoidRootPart.Position
  8.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  9.     end
  10. end)
  11. game:GetService('UserInputService').InputBegan:connect(function(key)
  12.     if key.KeyCode == Enum.KeyCode.Equals then
  13.         if script.Disabled ~= true then
  14.             script.Disabled = true
  15.             print'you may re-execute'
  16.         end
  17.     end
  18. end)
  19. box = Instance.new('Part',workspace)
  20. box.Anchored = true
  21. box.CanCollide = true
  22. box.Size = Vector3.new(10,1,10)
  23. box.Position = Vector3.new(0,10000,0)
  24. box.Touched:connect(function(part)
  25.     if (part.Parent.Name == Local.Name) then
  26.         if touched == false then
  27.             touched = true
  28.             function apply()
  29.                 if script.Disabled ~= true then
  30.                     no = Char.HumanoidRootPart:Clone()
  31.                     wait(.25)
  32.                     Char.HumanoidRootPart:Destroy()
  33.                     no.Parent = Char
  34.                     Char:MoveTo(loc)
  35.                     touched = false
  36.                 end end
  37.             if Char then
  38.                 apply()
  39.             end
  40.         end
  41.     end
  42. end)
  43. repeat wait() until Char
  44. loc = Char.HumanoidRootPart.Position
  45. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
RAW Paste Data