Anonymouse10101

Iron Man Simulator V.1 REBORN

Apr 24th, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 18.53 KB | None | 0 0
  1.     local nthrust = { }
  2.     local soth = false
  3.     local plr = game.Players.LocalPlayer   
  4.     local drep = false 
  5.        
  6.     local NewGuiPart1 = Instance.new("ScreenGui")
  7.     NewGuiPart1.Parent = game.CoreGui
  8.     -------
  9.     local NewGuiPart2 = Instance.new("Frame")
  10.     NewGuiPart2.BackgroundColor3 = Color3.new(0, 0, 0)
  11.     NewGuiPart2.BackgroundTransparency = 0.40000000596046
  12.     NewGuiPart2.BorderSizePixel = 0
  13.     NewGuiPart2.Position = UDim2.new(0.422850847, 0, 0.0158172231, 0)
  14.     NewGuiPart2.Size = UDim2.new(0, 186, 0, 21)
  15.     NewGuiPart2.Parent = NewGuiPart1
  16.     -------
  17.     local NewGuiPart3 = Instance.new("Frame")
  18.     NewGuiPart3.BackgroundColor3 = Color3.new(0, 0, 0)
  19.     NewGuiPart3.BackgroundTransparency = 0.69999998807907
  20.     NewGuiPart3.BorderSizePixel = 0
  21.     NewGuiPart3.Position = UDim2.new(0, 0, 1, 0)
  22.     NewGuiPart3.Size = UDim2.new(0, 186, 0, 100)
  23.     NewGuiPart3.Parent = NewGuiPart2
  24.     -------
  25.     local NewGuiPart4 = Instance.new("TextButton")
  26.     NewGuiPart4.Active = true
  27.     NewGuiPart4.BackgroundColor3 = Color3.new(0, 0, 0)
  28.     NewGuiPart4.BackgroundTransparency = 0.75
  29.     NewGuiPart4.Name = "EjectAll"
  30.     NewGuiPart4.Position = UDim2.new(0.0537634417, 0, 0.0700000003, 0)
  31.     NewGuiPart4.Selectable = true
  32.     NewGuiPart4.Size = UDim2.new(0, 54, 0, 15)
  33.     NewGuiPart4.Style = Enum.ButtonStyle.Custom
  34.     NewGuiPart4.Font = Enum.Font.Highway
  35.     NewGuiPart4.FontSize = Enum.FontSize.Size12
  36.     NewGuiPart4.Text = "Eject All"
  37.     NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  38.     NewGuiPart4.Parent = NewGuiPart3
  39.     -------
  40.     local NewGuiPart5 = Instance.new("TextButton")
  41.     NewGuiPart5.Active = true
  42.     NewGuiPart5.BackgroundColor3 = Color3.new(0, 0, 0)
  43.     NewGuiPart5.BackgroundTransparency = 0.75
  44.     NewGuiPart5.Name = "Eject"
  45.     NewGuiPart5.Position = UDim2.new(0.0537634417, 0, 0.550000012, 0)
  46.     NewGuiPart5.Selectable = true
  47.     NewGuiPart5.Size = UDim2.new(0, 44, 0, 15)
  48.     NewGuiPart5.Style = Enum.ButtonStyle.Custom
  49.     NewGuiPart5.Font = Enum.Font.Highway
  50.     NewGuiPart5.FontSize = Enum.FontSize.Size12
  51.     NewGuiPart5.Text = "Eject"
  52.     NewGuiPart5.TextColor3 = Color3.new(1, 1, 1)
  53.     NewGuiPart5.Parent = NewGuiPart3
  54.     -------
  55.     local NewGuiPart6 = Instance.new("TextBox")
  56.     NewGuiPart6.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  57.     NewGuiPart6.BackgroundTransparency = 0.64999997615814
  58.     NewGuiPart6.Name = "Person"
  59.     NewGuiPart6.Position = UDim2.new(0.0537634417, 0, 0.790000021, 0)
  60.     NewGuiPart6.Size = UDim2.new(0, 167, 0, 15)
  61.     NewGuiPart6.Font = Enum.Font.Highway
  62.     NewGuiPart6.FontSize = Enum.FontSize.Size14
  63.     NewGuiPart6.Text = "Person"
  64.     NewGuiPart6.TextColor3 = Color3.new(1, 1, 1)
  65.     NewGuiPart6.Parent = NewGuiPart3
  66.     -------
  67.     local NewGuiPart7 = Instance.new("TextButton")
  68.     NewGuiPart7.Active = true
  69.     NewGuiPart7.BackgroundColor3 = Color3.new(0, 0, 0)
  70.     NewGuiPart7.BackgroundTransparency = 0.75
  71.     NewGuiPart7.Name = "EjectOth"
  72.     NewGuiPart7.Position = UDim2.new(0.053763479, 0, 0.300000012, 0)
  73.     NewGuiPart7.Selectable = true
  74.     NewGuiPart7.Size = UDim2.new(0, 66, 0, 15)
  75.     NewGuiPart7.Style = Enum.ButtonStyle.Custom
  76.     NewGuiPart7.Font = Enum.Font.Highway
  77.     NewGuiPart7.FontSize = Enum.FontSize.Size12
  78.     NewGuiPart7.Text = "Eject Others"
  79.     NewGuiPart7.TextColor3 = Color3.new(1, 1, 1)
  80.     NewGuiPart7.Parent = NewGuiPart3
  81.     -------
  82.     local NewGuiPart8 = Instance.new("TextButton")
  83.     NewGuiPart8.Active = true
  84.     NewGuiPart8.BackgroundColor3 = Color3.new(0, 0, 0)
  85.     NewGuiPart8.BackgroundTransparency = 0.75
  86.     NewGuiPart8.Name = "EjectAll"
  87.     NewGuiPart8.Position = UDim2.new(0.446236551, 0, 0.300000012, 0)
  88.     NewGuiPart8.Selectable = true
  89.     NewGuiPart8.Size = UDim2.new(0, 93, 0, 15)
  90.     NewGuiPart8.Style = Enum.ButtonStyle.Custom
  91.     NewGuiPart8.Font = Enum.Font.Highway
  92.     NewGuiPart8.FontSize = Enum.FontSize.Size12
  93.     NewGuiPart8.Text = "Spam eject others"
  94.     NewGuiPart8.TextColor3 = Color3.new(1, 1, 1)
  95.     NewGuiPart8.Parent = NewGuiPart3
  96.     -------
  97.     local NewGuiPart9 = Instance.new("TextButton")
  98.     NewGuiPart9.Active = true
  99.     NewGuiPart9.BackgroundColor3 = Color3.new(0, 0, 0)
  100.     NewGuiPart9.BackgroundTransparency = 0.75
  101.     NewGuiPart9.Name = "Thrusterduster"
  102.     NewGuiPart9.Position = UDim2.new(0.344086021, 0, 0.550000012, 0)
  103.     NewGuiPart9.Selectable = true
  104.     NewGuiPart9.Size = UDim2.new(0, 51, 0, 15)
  105.     NewGuiPart9.Style = Enum.ButtonStyle.Custom
  106.     NewGuiPart9.Font = Enum.Font.Highway
  107.     NewGuiPart9.FontSize = Enum.FontSize.Size12
  108.     NewGuiPart9.Text = "No thrust"
  109.     NewGuiPart9.TextColor3 = Color3.new(1, 1, 1)
  110.     NewGuiPart9.Parent = NewGuiPart3
  111.     -------
  112.     local NewGuiPart10 = Instance.new("TextButton")
  113.     NewGuiPart10.Active = true
  114.     NewGuiPart10.BackgroundColor3 = Color3.new(0, 0, 0)
  115.     NewGuiPart10.BackgroundTransparency = 0.75
  116.     NewGuiPart10.Name = "thrust"
  117.     NewGuiPart10.Position = UDim2.new(0.672042966, 0, 0.550000012, 0)
  118.     NewGuiPart10.Selectable = true
  119.     NewGuiPart10.Size = UDim2.new(0, 51, 0, 15)
  120.     NewGuiPart10.Style = Enum.ButtonStyle.Custom
  121.     NewGuiPart10.Font = Enum.Font.Highway
  122.     NewGuiPart10.FontSize = Enum.FontSize.Size12
  123.     NewGuiPart10.Text = "Yes Thrust"
  124.     NewGuiPart10.TextColor3 = Color3.new(1, 1, 1)
  125.     NewGuiPart10.Parent = NewGuiPart3
  126.     -------
  127.     local NewGuiPart11 = Instance.new("TextButton")
  128.     NewGuiPart11.Active = true
  129.     NewGuiPart11.BackgroundColor3 = Color3.new(0, 0, 0)
  130.     NewGuiPart11.BackgroundTransparency = 0.75
  131.     NewGuiPart11.Name = "Kill"
  132.     NewGuiPart11.Position = UDim2.new(0.381720424, 0, 0.0700000003, 0)
  133.     NewGuiPart11.Selectable = true
  134.     NewGuiPart11.Size = UDim2.new(0, 54, 0, 15)
  135.     NewGuiPart11.Style = Enum.ButtonStyle.Custom
  136.     NewGuiPart11.Font = Enum.Font.Highway
  137.     NewGuiPart11.FontSize = Enum.FontSize.Size12
  138.     NewGuiPart11.Text = "Kill"
  139.     NewGuiPart11.TextColor3 = Color3.new(1, 1, 1)
  140.     NewGuiPart11.Parent = NewGuiPart3
  141.     -------
  142.     local NewGuiPart12 = Instance.new("TextButton")
  143.     NewGuiPart12.Active = true
  144.     NewGuiPart12.BackgroundColor3 = Color3.new(0, 0, 0)
  145.     NewGuiPart12.BackgroundTransparency = 0.75
  146.     NewGuiPart12.Name = "Misc"
  147.     NewGuiPart12.Position = UDim2.new(0.709677398, 0, 0.0700000003, 0)
  148.     NewGuiPart12.Selectable = true
  149.     NewGuiPart12.Size = UDim2.new(0, 45, 0, 15)
  150.     NewGuiPart12.Style = Enum.ButtonStyle.Custom
  151.     NewGuiPart12.Font = Enum.Font.Highway
  152.     NewGuiPart12.FontSize = Enum.FontSize.Size12
  153.     NewGuiPart12.Text = "Misc"
  154.     NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  155.     NewGuiPart12.Parent = NewGuiPart3
  156.     -------
  157.     local NewGuiPart13 = Instance.new("TextLabel")
  158.     NewGuiPart13.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  159.     NewGuiPart13.BackgroundTransparency = 1
  160.     NewGuiPart13.BorderSizePixel = 0
  161.     NewGuiPart13.Size = UDim2.new(0, 186, 0, 21)
  162.     NewGuiPart13.Font = Enum.Font.Highway
  163.     NewGuiPart13.FontSize = Enum.FontSize.Size12
  164.     NewGuiPart13.Text = "Iron Cheats"
  165.     NewGuiPart13.TextColor3 = Color3.new(0.231373, 1, 0)
  166.     NewGuiPart13.TextTransparency = 0.20000000298023
  167.     NewGuiPart13.Parent = NewGuiPart2
  168.     -------
  169.     local NewGuiPart14 = Instance.new("Frame")
  170.     NewGuiPart14.BackgroundColor3 = Color3.new(0, 0, 0)
  171.     NewGuiPart14.BackgroundTransparency = 0.40000000596046
  172.     NewGuiPart14.BorderSizePixel = 0
  173.     NewGuiPart14.Position = UDim2.new(1, 0, 1.19047618, 0)
  174.     NewGuiPart14.Size = UDim2.new(0, 142, 0, 21)
  175.     NewGuiPart14.Visible = false
  176.     NewGuiPart14.Parent = NewGuiPart2
  177.     -------
  178.     local NewGuiPart15 = Instance.new("Frame")
  179.     NewGuiPart15.BackgroundColor3 = Color3.new(0, 0, 0)
  180.     NewGuiPart15.BackgroundTransparency = 0.69999998807907
  181.     NewGuiPart15.BorderSizePixel = 0
  182.     NewGuiPart15.Position = UDim2.new(0, 0, 1, 0)
  183.     NewGuiPart15.Size = UDim2.new(0, 142, 0, 75)
  184.     NewGuiPart15.Parent = NewGuiPart14
  185.     -------
  186.     local NewGuiPart16 = Instance.new("TextLabel")
  187.     NewGuiPart16.BackgroundTransparency = 1
  188.     NewGuiPart16.BorderSizePixel = 0
  189.     NewGuiPart16.Position = UDim2.new(0, 0, -0.280000001, 0)
  190.     NewGuiPart16.Size = UDim2.new(0, 142, 0, 18)
  191.     NewGuiPart16.Font = Enum.Font.Highway
  192.     NewGuiPart16.FontSize = Enum.FontSize.Size14
  193.     NewGuiPart16.Text = "Misc."
  194.     NewGuiPart16.TextColor3 = Color3.new(0.14902, 1, 0)
  195.     NewGuiPart16.Parent = NewGuiPart15
  196.     -------
  197.     local NewGuiPart17 = Instance.new("TextButton")
  198.     NewGuiPart17.Active = true
  199.     NewGuiPart17.BackgroundColor3 = Color3.new(0, 0, 0)
  200.     NewGuiPart17.BackgroundTransparency = 0.75
  201.     NewGuiPart17.Name = "DRep"
  202.     NewGuiPart17.Position = UDim2.new(0.130281806, 0, 0.0699994564, 0)
  203.     NewGuiPart17.Selectable = true
  204.     NewGuiPart17.Size = UDim2.new(0, 105, 0, 15)
  205.     NewGuiPart17.Style = Enum.ButtonStyle.Custom
  206.     NewGuiPart17.Font = Enum.Font.Highway
  207.     NewGuiPart17.FontSize = Enum.FontSize.Size12
  208.     NewGuiPart17.Text = "Double Repulsor]"
  209.     NewGuiPart17.TextColor3 = Color3.new(1, 1, 1)
  210.     NewGuiPart17.Parent = NewGuiPart15
  211.  
  212. --Actual stuff now
  213.     NewGuiPart5.MouseButton1Click:connect(function()
  214.         local k = game.Players:FindFirstChild(NewGuiPart6.Text)
  215.         if k ~= nil then
  216.             if k.Backpack:FindFirstChild("suitControl") ~= nil then
  217.                 k.Backpack.suitControl.Assets.Events.Eject:FireServer()
  218.             else
  219.                 print(k.Name .. " is not currently wearing a suit.")
  220.             end
  221.         end
  222.     end)
  223.    
  224.     NewGuiPart17.MouseButton1Click:connect(function()
  225.         if drep == true then drep = false else drep = true end
  226.     end)
  227.    
  228.     NewGuiPart4.MouseButton1Click:connect(function()
  229.         for i,v in pairs(game.Players:GetChildren()) do
  230.             if(v.ClassName == "Player") then
  231.                 if(v.Backpack:FindFirstChild("suitControl") ~= nil) then
  232.                     v.Backpack.suitControl.Assets.Events.Eject:FireServer()
  233.                 end
  234.             end
  235.         end
  236.     end)
  237.    
  238.     NewGuiPart11.MouseButton1Click:connect(function()
  239.         if NewGuiPart6.Text == "all" then
  240.             for i,v in pairs(game.Players:GetChildren()) do
  241.                 if(v.ClassName == "Player") then
  242.                     if(v.Character:FindFirstChild("Suit")) then
  243.                         for is,vs in pairs(v.Character.Suit:GetChildren()) do
  244.                             if(vs:FindFirstChild("Union")) then
  245.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  246.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  247.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  248.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  249.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  250.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  251.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  252.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  253.                                 v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  254.                             end
  255.                         end
  256.                     end
  257.                 end
  258.             end        
  259.         end
  260.         if NewGuiPart6.Text ~= "all" and NewGuiPart6.Text ~= "others" then
  261.             local v = game.Players:FindFirstChild(NewGuiPart6.Text)
  262.             if(v ~= nil) then
  263.                 if(v.ClassName == "Player") then
  264.                     if(v.Character:FindFirstChild("Suit") ~= nil) then
  265.                             for is,vs in pairs(v.Character.Suit:GetChildren()) do                               if(vs:FindFirstChild("Union")) then
  266.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  267.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  268.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  269.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  270.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  271.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  272.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  273.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  274.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  275.                             end
  276.                     end
  277.                     end
  278.                 end
  279.             end
  280.         end
  281.         if NewGuiPart6.Text == "others" then
  282.             for i,v in pairs(game.Players:GetChildren()) do
  283.                 if(v.ClassName == "Player") then
  284.                     if(v.Name ~= plr.Name) then
  285.                         if(v.Character:FindFirstChild("Suit")) then
  286.                             for is,vs in pairs(v.Character.Suit:GetChildren()) do
  287.                                 if(vs:FindFirstChild("Union")) then
  288.                                     if v.Backpack:FindFirstChild("suitControl") ~= nil then
  289.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  290.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  291.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  292.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  293.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  294.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  295.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  296.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  297.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  298.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  299.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  300.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  301.                                         v.Backpack.suitControl.Assets.Events.punchHit:FireServer(vs.Union, 0.9)
  302.                                     end
  303.                                 end
  304.                             end
  305.                             for id,vd in pairs(v.Character:GetChildren()) do
  306.                                 if vd.ClassName == "MeshPart" then
  307.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  308.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  309.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  310.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  311.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  312.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  313.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  314.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  315.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  316.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  317.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  318.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  319.                                     plr.Backpack.suitControl.Assets.Events.punchHit:FireServer(vd, 1.2)
  320.                                 end
  321.                             end
  322.                         end
  323.                     end
  324.                 end
  325.             end
  326.         end
  327.     end)
  328.    
  329.     NewGuiPart12.MouseButton1Click:connect(function()
  330.         if(NewGuiPart14.Visible == true) then
  331.             NewGuiPart14.Visible = false
  332.         else
  333.             NewGuiPart14.Visible = true
  334.         end
  335.     end)
  336.    
  337.     NewGuiPart7.MouseButton1Click:connect(function()
  338.         for i,v in pairs(game.Players:GetChildren()) do
  339.             if(v.Name ~= plr.Name) then
  340.                 if(v.ClassName == "Player") then
  341.                     if(v.Backpack:FindFirstChild("suitControl") ~= nil) then
  342.                         v.Backpack.suitControl.Assets.Events.Eject:FireServer()
  343.                     end
  344.                 end
  345.             end
  346.         end
  347.     end)
  348.    
  349.     NewGuiPart8.MouseButton1Click:connect(function()
  350.         if(soth == true) then
  351.             soth = false
  352.         else
  353.             soth = true
  354.         end
  355.         print(soth)
  356.     end)
  357.    
  358.     NewGuiPart9.MouseButton1Click:connect(function()
  359.         if(game.Players:FindFirstChild(NewGuiPart6.Text) ~= nil) then
  360.             local k = false
  361.             for i = 1, #nthrust do
  362.                 print(nthrust[i])
  363.                 if nthrust[i] == NewGuiPart6.Text then k = true end
  364.             end
  365.             if k == false then
  366.                 table.insert(nthrust,game.Players[NewGuiPart6.Text].Name)
  367.             end
  368.         end
  369.         if NewGuiPart6.Text == "all" or "others" then
  370.             local k = false
  371.             for i = 1, #nthrust do
  372.                 print(nthrust[i])
  373.                 if nthrust[i] == NewGuiPart6.Text then k = true end
  374.             end
  375.             if k == false then
  376.                 table.insert(nthrust,NewGuiPart6.Text)
  377.             end
  378.         end
  379.     end)
  380.    
  381.     NewGuiPart10.MouseButton1Click:connect(function()
  382.         if(game.Players:FindFirstChild(NewGuiPart6.Text) ~= nil) then
  383.             local k = false
  384.             local b = 0
  385.             for i = 1, #nthrust do
  386.                 print(nthrust[i])
  387.                 if nthrust[i] == NewGuiPart6.Text then k = true b = i  end
  388.             end
  389.             if k == true then
  390.                 table.remove(nthrust,b)
  391.             end
  392.         end
  393.         if NewGuiPart6.Text == "all" or NewGuiPart6.Text == "others" then
  394.             local k = false
  395.             local b = 0
  396.             for i = 1, #nthrust do
  397.                 print(nthrust[i])
  398.                 if nthrust[i] == NewGuiPart6.Text then k = true b = i end
  399.             end
  400.             if k == true then
  401.                 table.remove(nthrust,b)
  402.             end
  403.         end
  404.     end)
  405.  
  406.     game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
  407.         if inputObject.KeyCode == Enum.KeyCode.Three then
  408.             print("3 pressed")
  409.             if drep == true then
  410.                 print("ooo ok")
  411.                 if(game.Players.LocalPlayer:FindFirstChild("Backpack") ~= nil and game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("suitControl") ~= nil) then
  412.                     game.Players.LocalPlayer.Backpack.suitControl.Assets.Events.fireRepulsor:FireServer("left")
  413.                     game.Players.LocalPlayer.Backpack.suitControl.Assets.Events.fireRepulsor:FireServer("right")
  414.                 end
  415.             end
  416.         end
  417.     end)
  418.    
  419.     while(true) do
  420.         wait(0.1)
  421.         for i = 1, #nthrust do
  422.                 print(nthrust[i])
  423.                 if nthrust[i] == "others" then
  424.                     for i,v in pairs(game.Players:GetChildren()) do
  425.                         if(v.Name ~= plr.Name) then
  426.                         if v:FindFirstChild("Backpack") ~= nil then
  427.                             if v:FindFirstChild("Backpack"):FindFirstChild("suitControl") ~= nil then
  428.                                 if v:FindFirstChild("Backpack"):FindFirstChild("suitControl"):FindFirstChild("Assets") ~= nil then
  429.                                     v:FindFirstChild("Backpack"):FindFirstChild("suitControl").Assets:WaitForChild("Events"):WaitForChild("toggleFlight"):FireServer(false)
  430.                                 end
  431.                             end
  432.                         end
  433.                         end
  434.                     end
  435.                 end
  436.                 if game.Players:FindFirstChild(nthrust[i]) ~= nil then
  437.                     if game.Players:FindFirstChild(nthrust[i]):FindFirstChild("Backpack") ~= nil then
  438.                         if game.Players:FindFirstChild(nthrust[i]):FindFirstChild("Backpack"):FindFirstChild("suitControl") ~= nil then
  439.                             game.Players:FindFirstChild(nthrust[i]):FindFirstChild("Backpack"):FindFirstChild("suitControl").Assets.Events.toggleFlight:FireServer(false)
  440.                         end
  441.                     end
  442.                 else if nthrust[i] == "all" then
  443.                     for i,v in pairs(game.Players:GetChildren()) do
  444.                         if v:FindFirstChild("Backpack") ~= nil then
  445.                             if v:FindFirstChild("Backpack"):FindFirstChild("suitControl") ~= nil then
  446.                                 if v:FindFirstChild("Backpack"):FindFirstChild("suitControl"):FindFirstChild("Assets") ~= nil then
  447.                                     v:FindFirstChild("Backpack"):FindFirstChild("suitControl").Assets:WaitForChild("Events"):WaitForChild("toggleFlight"):FireServer(false)
  448.                                 end
  449.                             end
  450.                         end
  451.                     end
  452.                 end
  453.                 end
  454.             end
  455.         if(soth == true) then
  456.             print("dawdasd")
  457.             for i,v in pairs(game.Players:GetChildren()) do
  458.                 if(v.Name ~= plr.Name) then
  459.                     if(v.ClassName == "Player") then
  460.                         if(v:FindFirstChild("Backpack") ~= nil) then
  461.                             if(v.Backpack:FindFirstChild("suitControl") ~= nil) then
  462.                                 v.Backpack.suitControl.Assets.Events.Eject:FireServer()
  463.                             end
  464.                         end
  465.                     end
  466.                 end
  467.             end
  468.         end
  469.     end
Add Comment
Please, Sign In to add comment