Advertisement
Guest User

Invisible Fly

a guest
May 20th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local TextButton = Instance.new("TextButton")
  6. local TextButton_2 = Instance.new("TextButton")
  7. --Properties:
  8. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. ScreenGui.ResetOnSpawn = false
  11.  
  12. TextButton.Parent = ScreenGui
  13. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  14. TextButton.Position = UDim2.new(0.46093747, 0, 0.510316312, 0)
  15. TextButton.Size = UDim2.new(0, 200, 0, 50)
  16. TextButton.Font = Enum.Font.SourceSans
  17. TextButton.Text = "click this then click T to enable invisibility"
  18. TextButton.TextColor3 = Color3.new(0, 0, 0)
  19. TextButton.TextScaled = true
  20. TextButton.TextSize = 14
  21. TextButton.TextWrapped = true
  22.  
  23. TextButton_2.Parent = ScreenGui
  24. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  25. TextButton_2.Position = UDim2.new(0.46093747, 0, 0.613480031, 0)
  26. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  27. TextButton_2.Font = Enum.Font.SourceSans
  28. TextButton_2.Text = "when thats enabled you can click here anc click Y to reset your character and go to that position"
  29. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  30. TextButton_2.TextScaled = true
  31. TextButton_2.TextSize = 14
  32. TextButton_2.TextWrapped = true
  33. -- Farewell Infortality.
  34. -- Version: 2.82
  35. -- Instances:
  36. local Frame3 = Instance.new("Frame")
  37. local TextButton3 = Instance.new("TextButton")
  38. local TextBox3 = Instance.new("TextBox")
  39. --Properties:
  40. Frame3.Parent = game.StarterGui.ScreenGui
  41. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  42. Frame3.Position = UDim2.new(0.326, 0, 0.611, 0)
  43. Frame3.Size = UDim2.new(0, 156, 0, 110)
  44.  
  45. TextButton3.Parent = Frame3
  46. TextButton3.BackgroundColor3 = Color3.new(1, 1, 1)
  47. TextButton3.Position = UDim2.new(0.0220666379, 0, 0.597846925, 0)
  48. TextButton3.Size = UDim2.new(0, 149, 0, 36)
  49. TextButton3.Font = Enum.Font.SourceSans
  50. TextButton3.Text = "set speed"
  51. TextButton3.TextColor3 = Color3.new(0, 0, 0)
  52. TextButton3.TextScaled = true
  53. TextButton3.TextSize = 14
  54. TextButton3.TextWrapped = true
  55.  
  56. TextBox3.Parent = Frame3
  57. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  58. TextBox3.Position = UDim2.new(0.057692308, 0, 0.13636364, 0)
  59. TextBox3.Size = UDim2.new(0, 137, 0, 39)
  60. TextBox3.Font = Enum.Font.SourceSans
  61. TextBox3.PlaceholderText = "speed here"
  62. TextBox3.Text = ""
  63. TextBox3.TextColor3 = Color3.new(0, 0, 0)
  64. TextBox3.TextSize = 14
  65. local num = Instance.new("IntValue")
  66.  
  67. local UserInputService = game:GetService("UserInputService")
  68.  
  69. local gui = Frame3
  70.  
  71. local dragging
  72. local dragInput
  73. local dragStart
  74. local startPos
  75.  
  76. local function update(input)
  77.     local delta = input.Position - dragStart
  78.     gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  79. end
  80.  
  81. gui.InputBegan:Connect(function(input)
  82.     if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  83.         dragging = true
  84.         dragStart = input.Position
  85.         startPos = gui.Position
  86.        
  87.         input.Changed:Connect(function()
  88.             if input.UserInputState == Enum.UserInputState.End then
  89.                 dragging = false
  90.             end
  91.         end)
  92.     end
  93. end)
  94.  
  95. gui.InputChanged:Connect(function(input)
  96.     if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  97.         dragInput = input
  98.     end
  99. end)
  100.  
  101. UserInputService.InputChanged:Connect(function(input)
  102.     if input == dragInput and dragging then
  103.         update(input)
  104.     end
  105. end)
  106. speed = {1}
  107.  
  108. -- Scripts:
  109. function SCRIPT_XRNJ89_FAKESCRIPT() -- TextButton.clicks
  110.     local script = Instance.new('LocalScript')
  111.     script.Parent = TextButton
  112.     script.Parent.MouseButton1Click:Connect(function(player)
  113.         print("clicked")
  114.         script.Parent.LocalScript.Disabled = false
  115.     end)
  116.  
  117. end
  118. coroutine.resume(coroutine.create(SCRIPT_XRNJ89_FAKESCRIPT))
  119. function SCRIPT_BYGD75_FAKESCRIPT() -- TextButton.LocalScript
  120.     local script = Instance.new('LocalScript')
  121.     script.Parent = TextButton
  122.     local player = game.Players.LocalPlayer
  123.     local character = player.Character
  124.     local mouse = player:GetMouse()
  125.     local UIS = game:GetService("UserInputService")
  126.     w = {"false"}
  127.     a = {"false"}
  128.     s = {"false"}
  129.     d = {"false"}
  130.     q = {"false"}
  131.     e = {"false"}
  132.     active = {"false"}
  133.    
  134.     local function doi()
  135.         UIS.InputBegan:Connect(function(key, gameprocessed)
  136.             if key.KeyCode == Enum.KeyCode.T then
  137.                 local lastpos = character.HumanoidRootPart.Position
  138.                 print("yeskey")
  139.                 local model = Instance.new("Model")
  140.                 model.Name = player.Name .. " invisibilityset"
  141.                 if table.concat(active) == "true" then
  142.                     print("yes")
  143.                     table.remove(active, 1)
  144.                     table.insert(active, "false")
  145.                     character.HumanoidRootPart.CFrame = CFrame.new(model.HumanoidRootPart.Position)
  146.                 else
  147.                     print("yes2")
  148.                     table.remove(active, 1)
  149.                     table.insert(active, "true")
  150.                     local randomsx = math.random(50, 50000)
  151.                     local randomsy = math.random(50, 50000)
  152.                     local randomsz = math.random(50, 50000)
  153.                     local randoms = Vector3.new(randomsx, randomsy, randomsz)
  154.                     local setuprandoms = Vector3.new(randomsx, randomsy + 10, randomsz)
  155.                     print(randoms)
  156.                     local part = Instance.new("Part")
  157.                     part.Parent = game.Workspace
  158.                     part.Anchored = true
  159.                     part.Position = randoms
  160.                     character.HumanoidRootPart.CFrame = CFrame.new(setuprandoms)
  161.                     character.Humanoid.WalkSpeed = 0
  162.                     print("a")
  163.                     local function doings()
  164.                         model.Parent = game.Workspace
  165.                         local newcharacter = Instance.new("Part")
  166.                         newcharacter.Parent = model
  167.                         local partroot = Instance.new("Part")
  168.                         partroot.Name = "HumanoidRootPart"
  169.                         partroot.Parent = model
  170.                         local parthumanoid = Instance.new("Humanoid")
  171.                         parthumanoid.Parent = model
  172.                         model.PrimaryPart = partroot
  173.                         partroot.Position = Vector3.new(1, 4, 0)
  174.                         game.Workspace.Camera.CameraSubject = parthumanoid
  175.                         parthumanoid.WalkSpeed = 100
  176.                         parthumanoid.JumpPower = 150
  177.                         partroot.CFrame = CFrame.new(lastpos)
  178.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  179.                             if key.KeyCode == Enum.KeyCode.W then
  180.                                 if not UIS:GetFocusedTextBox() then
  181.                                     table.remove(w, 1)
  182.                                     table.insert(w, "true")
  183.                                     print("w")
  184.                                 end
  185.                             end
  186.                         end)
  187.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  188.                             if key.KeyCode == Enum.KeyCode.W then
  189.                                 if not UIS:GetFocusedTextBox() then
  190.                                     table.remove(w, 1)
  191.                                     table.insert(w, "false")
  192.                                 end
  193.                             end
  194.                         end)
  195.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  196.                             if key.KeyCode == Enum.KeyCode.A then
  197.                                 if not UIS:GetFocusedTextBox() then
  198.                                     table.remove(a, 1)
  199.                                     table.insert(a, "true")
  200.                                 end
  201.                             end
  202.                         end)
  203.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  204.                             if key.KeyCode == Enum.KeyCode.A then
  205.                                 if not UIS:GetFocusedTextBox() then
  206.                                     table.remove(a, 1)
  207.                                     table.insert(a, "false")
  208.                                 end
  209.                             end
  210.                         end)
  211.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  212.                             if key.KeyCode == Enum.KeyCode.S then
  213.                                 if not UIS:GetFocusedTextBox() then
  214.                                     table.remove(s, 1)
  215.                                     table.insert(s, "true")
  216.                                 end
  217.                             end
  218.                         end)
  219.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  220.                             if key.KeyCode == Enum.KeyCode.S then
  221.                                 if not UIS:GetFocusedTextBox() then
  222.                                     table.remove(s, 1)
  223.                                     table.insert(s, "false")
  224.                                 end
  225.                             end
  226.                         end)
  227.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  228.                             if key.KeyCode == Enum.KeyCode.D then
  229.                                 if not UIS:GetFocusedTextBox() then
  230.                                     table.remove(d, 1)
  231.                                     table.insert(d, "true")
  232.                                 end
  233.                             end
  234.                         end)
  235.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  236.                             if key.KeyCode == Enum.KeyCode.D then
  237.                                 if not UIS:GetFocusedTextBox() then
  238.                                     table.remove(d, 1)
  239.                                     table.insert(d, "false")
  240.                                 end
  241.                             end
  242.                         end)
  243.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  244.                             if key.KeyCode == Enum.KeyCode.Q then
  245.                                 if not UIS:GetFocusedTextBox() then
  246.                                     table.remove(q, 1)
  247.                                     table.insert(q, "true")
  248.                                 end
  249.                             end
  250.                         end)
  251.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  252.                             if key.KeyCode == Enum.KeyCode.Q then
  253.                                 if not UIS:GetFocusedTextBox() then
  254.                                     table.remove(q, 1)
  255.                                     table.insert(q, "false")
  256.                                 end
  257.                             end
  258.                         end)
  259.                         UIS.InputBegan:Connect(function(key, gameprocessed)
  260.                             if key.KeyCode == Enum.KeyCode.E then
  261.                                 if not UIS:GetFocusedTextBox() then
  262.                                     table.remove(e, 1)
  263.                                     table.insert(e, "true")
  264.                                 end
  265.                             end
  266.                         end)
  267.                         UIS.InputEnded:Connect(function(key, gameprocessed)
  268.                             if key.KeyCode == Enum.KeyCode.E then
  269.                                 if not UIS:GetFocusedTextBox() then
  270.                                     table.remove(e, 1)
  271.                                     table.insert(e, "false")
  272.                                 end
  273.                             end
  274.                         end)
  275.                        
  276.                         partroot.Anchored = true
  277.                         partroot.CanCollide = false
  278.                        
  279.                         while true do
  280.                             wait()
  281.                             if table.concat(w) == "true" then
  282.                                 local success, err = pcall(function()
  283.                                     partroot.Position = Vector3.new(partroot.Position.X, partroot.Position.Y, partroot.Position.Z - num.Value)
  284.                                 end)
  285.                                 if not success then
  286.                                     print(err)
  287.                                 end
  288.                             end
  289.                             if table.concat(a) == "true" then
  290.                                 local success, err = pcall(function()
  291.                                     partroot.Position = Vector3.new(partroot.Position.X - num.Value, partroot.Position.Y, partroot.Position.Z)
  292.                                 end)
  293.                                 if not success then
  294.                                     print(err)
  295.                                 end
  296.                             end
  297.                             if table.concat(s) == "true" then
  298.                                 local success, err = pcall(function()
  299.                                     partroot.Position = Vector3.new(partroot.Position.X, partroot.Position.Y, partroot.Position.Z + num.Value)
  300.                                 end)
  301.                                 if not success then
  302.                                     print(err)
  303.                                 end
  304.                             end
  305.                             if table.concat(d) == "true" then
  306.                                 local success, err = pcall(function()
  307.                                     partroot.Position = Vector3.new(partroot.Position.X + num.Value, partroot.Position.Y, partroot.Position.Z)
  308.                                 end)
  309.                                 if not success then
  310.                                     print(err)
  311.                                 end
  312.                             end
  313.                             if table.concat(q) == "true" then
  314.                                 local success, err = pcall(function()
  315.                                     partroot.Position = Vector3.new(partroot.Position.X, partroot.Position.Y + num.Value, partroot.Position.Z)
  316.                                 end)
  317.                                 if not success then
  318.                                     print(err)
  319.                                 end
  320.                             end
  321.                             if table.concat(e) == "true" then
  322.                                 local success, err = pcall(function()
  323.                                     partroot.Position = Vector3.new(partroot.Position.X, partroot.Position.Y - num.Value, partroot.Position.Z)
  324.                                 end)
  325.                                 if not success then
  326.                                     print(err)
  327.                                 end
  328.                             end
  329.                            
  330.                         end
  331.                     end
  332.                     doings()
  333.                     print("e")
  334.                 end
  335.             end
  336.         end)
  337.     end
  338.    
  339.     doi()
  340.  
  341. end
  342. coroutine.resume(coroutine.create(SCRIPT_BYGD75_FAKESCRIPT))
  343. function SCRIPT_XEMV84_FAKESCRIPT() -- TextButton_2.LocalScript
  344.     local script = Instance.new('LocalScript')
  345.     script.Parent = TextButton_2
  346.     local player = game.Players.LocalPlayer
  347.     local UIS = game:GetService("UserInputService")
  348.     local lastpos
  349.    
  350.     script.Parent.MouseButton1Click:Connect(function(plays)
  351.         UIS.InputBegan:Connect(function(key, gameprocessed)
  352.             if key.KeyCode == Enum.KeyCode.Y then
  353.                 if not UIS:GetFocusedTextBox() then
  354.                     if game.Workspace:FindFirstChild(player.Name .. " invisibilityset") then
  355.                         local play = game.Workspace[player.Name .. " invisibilityset"].HumanoidRootPart
  356.                         lastpos = play.Position
  357.                         print(play.Position)
  358.                         print(lastpos)
  359.                         play.CanCollide = false
  360.                         play.Anchored = true
  361.                         local character = player.Character
  362.                         game.Workspace.Camera.CameraSubject = character.Humanoid
  363.                         character.Humanoid.WalkSpeed = 16
  364.                         character.HumanoidRootPart.CFrame = CFrame.new(lastpos)
  365.                         play.Parent:Destroy()
  366.                     end
  367.                 end
  368.             end
  369.         end)
  370.     end)
  371.  
  372. end
  373. coroutine.resume(coroutine.create(SCRIPT_XEMV84_FAKESCRIPT))
  374.  
  375. -- Farewell Infortality.
  376. -- Version: 2.82
  377. -- Instances:
  378. local Frame = Instance.new("Frame")
  379. local TextButton3 = Instance.new("TextButton")
  380. local TextBox3 = Instance.new("TextBox")
  381. --Properties:
  382. Frame.Parent = game.Players.LocalPlayer.PlayerGui.ScreenGui
  383. game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = true
  384. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  385. Frame.Position = UDim2.new(0.326041698, 0, 0.610729039, 0)
  386. Frame.Size = UDim2.new(0, 156, 0, 110)
  387.  
  388. TextButton3.Parent = Frame
  389. TextButton3.BackgroundColor3 = Color3.new(1, 1, 1)
  390. TextButton3.Position = UDim2.new(0.0220666379, 0, 0.597846925, 0)
  391. TextButton3.Size = UDim2.new(0, 149, 0, 36)
  392. TextButton3.Font = Enum.Font.SourceSans
  393. TextButton3.Text = "set speed"
  394. TextButton3.TextColor3 = Color3.new(0, 0, 0)
  395. TextButton3.TextScaled = true
  396. TextButton3.TextSize = 14
  397. TextButton3.TextWrapped = true
  398.  
  399. TextBox3.Parent = Frame
  400. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  401. TextBox3.Position = UDim2.new(0.057692308, 0, 0.13636364, 0)
  402. TextBox3.Size = UDim2.new(0, 137, 0, 39)
  403. TextBox3.Font = Enum.Font.SourceSans
  404. TextBox3.PlaceholderText = "speed here"
  405. TextBox3.Text = ""
  406. TextBox3.TextColor3 = Color3.new(0, 0, 0)
  407. TextBox3.TextSize = 14
  408. -- Scripts:
  409. function SCRIPT_LXYE75_FAKESCRIPT() -- TextButton.LocalScript
  410.     local script = Instance.new('LocalScript')
  411.     script.Parent = TextButton
  412.     script.Parent.MouseButton1Click:Connect(function(plays)
  413.         table.remove(speed, 1)
  414.         table.add(speed, TextBox3.Text)
  415.     end)
  416.  
  417. end
  418. coroutine.resume(coroutine.create(SCRIPT_LXYE75_FAKESCRIPT))
  419. function SCRIPT_LUWV89_FAKESCRIPT() -- TextBox.LocalScript
  420.     local script = Instance.new('LocalScript')
  421.     script.Parent = TextButton_2
  422.     local player = game.Players.LocalPlayer
  423.     local UIS = game:GetService("UserInputService")
  424.     TextBox3.FocusLost:Connect(function(plays)
  425.         print("a")
  426.         local success, err = pcall(function()
  427.             local number = tonumber(TextBox3.Text)
  428.             print(number)
  429.             if number == nil then
  430.                 error()
  431.             end
  432.         end)
  433.         if not success then
  434.             print(err)
  435.             TextBox3.Text = "only numbrs not text!"
  436.         end
  437.     end)
  438.     TextButton3.MouseButton1Click:Connect(function(plays)
  439.         table.remove(speed, 1)
  440.         table.insert(speed, tonumber(TextBox3.Text))
  441.         num.Value = tonumber(TextBox3.Text)
  442.     end)
  443. end
  444. coroutine.resume(coroutine.create(SCRIPT_LUWV89_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement