Advertisement
Guest User

FE Invisible Script

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