Advertisement
zombieslayerwtf

FE Invisible Extracted From Gui

Jan 18th, 2019
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. local Player = game:GetService('Players').LocalPlayer
  2. local AirTP = true
  3. local function CheckRig()
  4. if Player.Character then
  5. local Humanoid = Player.Character:WaitForChild('Humanoid')
  6. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  7. return 'R15'
  8. else
  9. return 'R6'
  10. end
  11. end
  12. end
  13.  
  14. local Character = Player.Character
  15. local StoredCF = Character.PrimaryPart.CFrame
  16. if AirTP then
  17. local Part = Instance.new('Part',workspace)
  18. Part.Size = Vector3.new(5,0,5)
  19. Part.Anchored = true
  20. Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
  21. Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
  22. spawn(function()
  23. wait(3)
  24. Part:Destroy()
  25. end)
  26. end
  27. if CheckRig() == 'R6' then
  28. local Clone = Character.HumanoidRootPart:Clone()
  29. Character.HumanoidRootPart:Destroy()
  30. Clone.Parent = Character
  31. else
  32. local Clone = Character.LowerTorso.Root:Clone()
  33. Character.LowerTorso.Root:Destroy()
  34. Clone.Parent = Character.LowerTorso
  35. end
  36. if AirTP then
  37. wait(1)
  38. Character.PrimaryPart.CFrame = StoredCF
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement