Advertisement
NightGamingVN

hev suit

Mar 19th, 2020
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.74 KB | None | 0 0
  1. -- hev suit by pdnghiaqoi [ marseio ]
  2. a = NLS([[
  3. workspace.Gravity = 160
  4. print("hev suit by pdnghiaqoi [ marseio ]")
  5. print("hold shift to run\nhold z to zoom\npress f to toggle flashlight")
  6. ScreenGui0 = Instance.new("ScreenGui")
  7. ImageLabel1 = Instance.new("ImageLabel")
  8. TextLabel2 = Instance.new("TextLabel")
  9. TextLabel3 = Instance.new("TextLabel")
  10. ImageLabel4 = Instance.new("ImageLabel")
  11. Frame5 = Instance.new("Frame")
  12. Frame6 = Instance.new("Frame")
  13. Frame7 = Instance.new("Frame")
  14. Frame8 = Instance.new("Frame")
  15. Frame9 = Instance.new("Frame")
  16. Frame10 = Instance.new("Frame")
  17. Frame11 = Instance.new("Frame")
  18. Frame12 = Instance.new("Frame")
  19. Frame13 = Instance.new("Frame")
  20. Frame14 = Instance.new("Frame")
  21. Frame15 = Instance.new("Frame")
  22. TextLabel16 = Instance.new("TextLabel")
  23. TextLabel17 = Instance.new("TextLabel")
  24. TextLabel18 = Instance.new("TextLabel")
  25. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26. ImageLabel1.Name = "Health"
  27. ImageLabel1.Parent = ScreenGui0
  28. ImageLabel1.Position = UDim2.new(0, 25, 1, -65)
  29. ImageLabel1.Size = UDim2.new(0, 130, 0, 50)
  30. ImageLabel1.BackgroundColor = BrickColor.new("Really black")
  31. ImageLabel1.BackgroundColor3 = Color3.new(0, 0, 0)
  32. ImageLabel1.BackgroundTransparency = 1
  33. ImageLabel1.Image = "http://www.roblox.com/asset/?id=882669350"
  34. ImageLabel1.ImageColor3 = Color3.new(0, 0, 0)
  35. ImageLabel1.ImageTransparency = 0.89999997615814
  36. TextLabel2.Name = "HP"
  37. TextLabel2.Parent = ImageLabel1
  38. TextLabel2.Position = UDim2.new(1, -70, 0.5, -25)
  39. TextLabel2.Size = UDim2.new(0, 60, 0, 50)
  40. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  41. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  42. TextLabel2.BackgroundTransparency = 1
  43. TextLabel2.Font = Enum.Font.SourceSansLight
  44. TextLabel2.FontSize = Enum.FontSize.Size18
  45. TextLabel2.Text = "100"
  46. TextLabel2.TextColor = BrickColor.new("New Yeller")
  47. TextLabel2.TextColor3 = Color3.new(1, 1, 0)
  48. TextLabel2.TextScaled = true
  49. TextLabel2.TextSize = 15
  50. TextLabel2.TextStrokeColor3 = Color3.new(0.709804, 0.709804, 0)
  51. TextLabel2.TextTransparency = 0.34999999403954
  52. TextLabel2.TextTruncate = Enum.TextTruncate.AtEnd
  53. TextLabel2.TextWrap = true
  54. TextLabel2.TextWrapped = true
  55. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  56. TextLabel3.Name = "Text"
  57. TextLabel3.Parent = ImageLabel1
  58. TextLabel3.Position = UDim2.new(0, 5, 1, -33)
  59. TextLabel3.Size = UDim2.new(0, 50, 0, 35)
  60. TextLabel3.BackgroundColor = BrickColor.new("Institutional white")
  61. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  62. TextLabel3.BackgroundTransparency = 1
  63. TextLabel3.Font = Enum.Font.SourceSansSemibold
  64. TextLabel3.FontSize = Enum.FontSize.Size14
  65. TextLabel3.Text = "HEALTH"
  66. TextLabel3.TextColor = BrickColor.new("New Yeller")
  67. TextLabel3.TextColor3 = Color3.new(1, 1, 0)
  68. TextLabel3.TextSize = 14
  69. TextLabel3.TextStrokeColor3 = Color3.new(0.635294, 0.635294, 0)
  70. TextLabel3.TextTransparency = 0.34999999403954
  71. TextLabel3.TextWrap = true
  72. TextLabel3.TextWrapped = true
  73. ImageLabel4.Name = "Power"
  74. ImageLabel4.Parent = ScreenGui0
  75. ImageLabel4.Position = UDim2.new(0, 25, 1, -115)
  76. ImageLabel4.Size = UDim2.new(0, 130, 0, 40)
  77. ImageLabel4.BackgroundColor = BrickColor.new("Really black")
  78. ImageLabel4.BackgroundColor3 = Color3.new(0, 0, 0)
  79. ImageLabel4.BackgroundTransparency = 1
  80. ImageLabel4.Image = "http://www.roblox.com/asset/?id=882669350"
  81. ImageLabel4.ImageColor3 = Color3.new(0, 0, 0)
  82. ImageLabel4.ImageTransparency = 0.89999997615814
  83. Frame5.Name = "Bar"
  84. Frame5.Parent = ImageLabel4
  85. Frame5.Position = UDim2.new(0, 10, 0, 22)
  86. Frame5.Size = UDim2.new(1, -10, 0, 6)
  87. Frame5.BackgroundColor = BrickColor.new("Institutional white")
  88. Frame5.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Frame5.BackgroundTransparency = 1
  90. Frame6.Name = "1"
  91. Frame6.Parent = Frame5
  92. Frame6.Size = UDim2.new(0, 8, 1, 0)
  93. Frame6.BackgroundColor = BrickColor.new("New Yeller")
  94. Frame6.BackgroundColor3 = Color3.new(1, 1, 0)
  95. Frame6.BorderSizePixel = 0
  96. Frame7.Name = "2"
  97. Frame7.Parent = Frame5
  98. Frame7.Position = UDim2.new(0, 11, 0, 0)
  99. Frame7.Size = UDim2.new(0, 8, 1, 0)
  100. Frame7.BackgroundColor = BrickColor.new("New Yeller")
  101. Frame7.BackgroundColor3 = Color3.new(1, 1, 0)
  102. Frame7.BorderSizePixel = 0
  103. Frame8.Name = "3"
  104. Frame8.Parent = Frame5
  105. Frame8.Position = UDim2.new(0, 22, 0, 0)
  106. Frame8.Size = UDim2.new(0, 8, 1, 0)
  107. Frame8.BackgroundColor = BrickColor.new("New Yeller")
  108. Frame8.BackgroundColor3 = Color3.new(1, 1, 0)
  109. Frame8.BorderSizePixel = 0
  110. Frame9.Name = "4"
  111. Frame9.Parent = Frame5
  112. Frame9.Position = UDim2.new(0, 33, 0, 0)
  113. Frame9.Size = UDim2.new(0, 8, 1, 0)
  114. Frame9.BackgroundColor = BrickColor.new("New Yeller")
  115. Frame9.BackgroundColor3 = Color3.new(1, 1, 0)
  116. Frame9.BorderSizePixel = 0
  117. Frame10.Name = "5"
  118. Frame10.Parent = Frame5
  119. Frame10.Position = UDim2.new(0, 44, 0, 0)
  120. Frame10.Size = UDim2.new(0, 8, 1, 0)
  121. Frame10.BackgroundColor = BrickColor.new("New Yeller")
  122. Frame10.BackgroundColor3 = Color3.new(1, 1, 0)
  123. Frame10.BorderSizePixel = 0
  124. Frame11.Name = "6"
  125. Frame11.Parent = Frame5
  126. Frame11.Position = UDim2.new(0, 55, 0, 0)
  127. Frame11.Size = UDim2.new(0, 8, 1, 0)
  128. Frame11.BackgroundColor = BrickColor.new("New Yeller")
  129. Frame11.BackgroundColor3 = Color3.new(1, 1, 0)
  130. Frame11.BorderSizePixel = 0
  131. Frame12.Name = "7"
  132. Frame12.Parent = Frame5
  133. Frame12.Position = UDim2.new(0, 66, 0, 0)
  134. Frame12.Size = UDim2.new(0, 8, 1, 0)
  135. Frame12.BackgroundColor = BrickColor.new("New Yeller")
  136. Frame12.BackgroundColor3 = Color3.new(1, 1, 0)
  137. Frame12.BorderSizePixel = 0
  138. Frame13.Name = "8"
  139. Frame13.Parent = Frame5
  140. Frame13.Position = UDim2.new(0, 77, 0, 0)
  141. Frame13.Size = UDim2.new(0, 8, 1, 0)
  142. Frame13.BackgroundColor = BrickColor.new("New Yeller")
  143. Frame13.BackgroundColor3 = Color3.new(1, 1, 0)
  144. Frame13.BorderSizePixel = 0
  145. Frame14.Name = "9"
  146. Frame14.Parent = Frame5
  147. Frame14.Position = UDim2.new(0, 88, 0, 0)
  148. Frame14.Size = UDim2.new(0, 8, 1, 0)
  149. Frame14.BackgroundColor = BrickColor.new("New Yeller")
  150. Frame14.BackgroundColor3 = Color3.new(1, 1, 0)
  151. Frame14.BorderSizePixel = 0
  152. Frame15.Name = "10"
  153. Frame15.Parent = Frame5
  154. Frame15.Position = UDim2.new(0, 99, 0, 0)
  155. Frame15.Size = UDim2.new(0, 8, 1, 0)
  156. Frame15.BackgroundColor = BrickColor.new("New Yeller")
  157. Frame15.BackgroundColor3 = Color3.new(1, 1, 0)
  158. Frame15.BorderSizePixel = 0
  159. TextLabel16.Name = "Using"
  160. TextLabel16.Parent = ImageLabel4
  161. TextLabel16.Position = UDim2.new(0, 10, 0, 30)
  162. TextLabel16.Size = UDim2.new(1, -10, 0, 35)
  163. TextLabel16.BackgroundColor = BrickColor.new("Institutional white")
  164. TextLabel16.BackgroundColor3 = Color3.new(1, 1, 1)
  165. TextLabel16.BackgroundTransparency = 1
  166. TextLabel16.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  167. TextLabel16.Font = Enum.Font.SourceSansSemibold
  168. TextLabel16.FontSize = Enum.FontSize.Size14
  169. TextLabel16.Text = "BLANK"
  170. TextLabel16.TextColor = BrickColor.new("New Yeller")
  171. TextLabel16.TextColor3 = Color3.new(1, 1, 0)
  172. TextLabel16.TextSize = 14
  173. TextLabel16.TextTransparency = 1
  174. TextLabel16.TextWrap = true
  175. TextLabel16.TextWrapped = true
  176. TextLabel16.TextXAlignment = Enum.TextXAlignment.Left
  177. TextLabel16.TextYAlignment = Enum.TextYAlignment.Top
  178. TextLabel17.Name = "Title"
  179. TextLabel17.Parent = ImageLabel4
  180. TextLabel17.Position = UDim2.new(0, 10, 0, 7)
  181. TextLabel17.Size = UDim2.new(1, -10, 0, 10)
  182. TextLabel17.BackgroundColor = BrickColor.new("Institutional white")
  183. TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1)
  184. TextLabel17.BackgroundTransparency = 1
  185. TextLabel17.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  186. TextLabel17.Font = Enum.Font.SourceSansSemibold
  187. TextLabel17.FontSize = Enum.FontSize.Size14
  188. TextLabel17.Text = "AUX POWER"
  189. TextLabel17.TextColor = BrickColor.new("New Yeller")
  190. TextLabel17.TextColor3 = Color3.new(1, 1, 0)
  191. TextLabel17.TextSize = 14
  192. TextLabel17.TextWrap = true
  193. TextLabel17.TextWrapped = true
  194. TextLabel17.TextXAlignment = Enum.TextXAlignment.Left
  195. TextLabel18.Parent = ScreenGui0
  196. TextLabel18.Position = UDim2.new(0.5, -62, 0.5, -22)
  197. TextLabel18.Size = UDim2.new(0, 115, 0, 40)
  198. TextLabel18.BackgroundColor = BrickColor.new("Really black")
  199. TextLabel18.BackgroundColor3 = Color3.new(0, 0, 0)
  200. TextLabel18.BackgroundTransparency = 0.80000001192093
  201. TextLabel18.Font = Enum.Font.SourceSansSemibold
  202. TextLabel18.FontSize = Enum.FontSize.Size18
  203. TextLabel18.Text = "LOADING"
  204. TextLabel18.TextColor = BrickColor.new("Institutional white")
  205. TextLabel18.TextColor3 = Color3.new(1, 1, 1)
  206. TextLabel18.TextSize = 15
  207. TextLabel18.TextStrokeColor3 = Color3.new(1, 1, 1)
  208. TextLabel18.Visible = false
  209. script.Parent = owner:FindFirstChildOfClass("PlayerGui")
  210. Settings = {
  211.     Mouse = owner:GetMouse();
  212.     GUI = ScreenGui0;
  213.     Children = {};
  214.     Health = 100;
  215.     Break = false;
  216.     AUX = {
  217.         Power = 100;
  218.         DrainingPower = {
  219.             ["SPRINT"] = 1.15;
  220.             ["FLASHLIGHT"] = 0.25;
  221.         };
  222.         Using = {};
  223.         Status = 0;
  224.         Disable = false;
  225.         CurrentTween = nil;
  226.     };
  227.     Camera = workspace.CurrentCamera;
  228.     UIS = game:GetService("UserInputService");
  229.     Remote = script:WaitForChild("ResponsiveRemote");
  230.     Response = Instance.new("BoolValue");
  231.     Loading = TextLabel18;
  232.     Humanoid = nil;
  233.     RootPart = nil;
  234.     Light = nil;
  235. }
  236. for i,v in pairs(Settings.GUI:GetDescendants()) do
  237.     Settings.Children[v.Name] = v
  238. end
  239. Settings.Remote.OnClientEvent:Connect(function()
  240.     Settings.Response.Value = not Settings.Response.Value
  241. end)
  242. local Cooldown = false
  243. function a()
  244.     local responsed = false
  245.     spawn(function()
  246.         Settings.Response.Changed:wait()
  247.         responsed = true
  248.     end)
  249.     local retry = 0
  250.     while wait() do
  251.         if not responsed then
  252.             if retry >= 50 then
  253.                 if not Settings.Loading.Visible then
  254.                 Settings.Loading.Visible = true
  255.                 end
  256.                 break
  257.             else
  258.                 retry = retry + 1
  259.             end
  260.         else
  261.             if Settings.Loading.Visible then Settings.Loading.Visible = false end
  262.             break
  263.         end
  264.     end
  265.     return
  266. end
  267. spawn(function()
  268.     while wait() do
  269.         a()
  270.     end
  271. end)
  272. function CheckPower()
  273.     local p = {
  274.         [10] = 0.5;
  275.         [9] = 0.5;
  276.         [8] = 0.5;
  277.         [7] = 0.5;
  278.         [6] = 0.5;
  279.         [5] = 0.5;
  280.         [4] = 0.5;
  281.         [3] = 0.5;
  282.         [2] = 0.5;
  283.         [1] = 0.5;
  284.     }
  285.     local function thing(tab)
  286.         for i,v in pairs(tab) do
  287.             if Settings.AUX.Disable == false then
  288.                 Settings.Children[tostring(i)].BackgroundTransparency = v
  289.             end
  290.         end
  291.     end
  292.     if Settings.AUX.Power >= 10 then
  293.         p[1] = 0
  294.     end
  295.     if Settings.AUX.Power >= 20 then
  296.         p[2] = 0
  297.     end
  298.     if Settings.AUX.Power >= 30 then
  299.         p[3] = 0
  300.     end
  301.     if Settings.AUX.Power >= 40 then
  302.         p[4] = 0
  303.     end
  304.     if Settings.AUX.Power >= 50 then
  305.         p[5] = 0
  306.     end
  307.     if Settings.AUX.Power >= 60 then
  308.         p[6] = 0
  309.     end
  310.     if Settings.AUX.Power >= 70 then
  311.         p[7] = 0
  312.     end
  313.     if Settings.AUX.Power >= 80 then
  314.         p[8] = 0
  315.     end
  316.     if Settings.AUX.Power >= 90 then
  317.         p[9] = 0
  318.     end
  319.     if Settings.AUX.Power >= 100 then
  320.         p[10] = 0
  321.     end
  322.     thing(p)
  323. end
  324. Settings.GUI.Parent = script
  325. Settings.Mouse.Icon = "rbxassetid://509381906"
  326. local sound = Instance.new("Sound")
  327. sound.Looped = false
  328. sound.Volume = 1
  329. sound.SoundId = "rbxassetid://1381855428"
  330. sound.Parent = script
  331. sound:Play()
  332. owner.CameraMode = Enum.CameraMode.LockFirstPerson
  333. TS = game:GetService("TweenService")
  334. CurrentTween = {}
  335. CurrentTween1 = {}
  336. function Disable(GUI)
  337.     if Settings.AUX.Disable == true then return end
  338.     Settings.AUX.Disable = true
  339.     GUI.ImageTransparency = 1
  340.     local a = TweenInfo.new(.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  341.     for i,v in pairs(GUI:GetDescendants()) do
  342.         local b = {}
  343.         if CurrentTween[v] then CurrentTween[v]:Cancel() end
  344.         if v:IsA("ImageLabel") or v:IsA("ImageButton") then
  345.             b.ImageTransparency = 1
  346.         elseif v:IsA("TextLabel") or v:IsA("TextButton") then
  347.             b.TextTransparency = 1
  348.         elseif v:IsA("Frame") and v.Parent ~= GUI then
  349.             b.BackgroundTransparency = 1
  350.         end
  351.         CurrentTween[v] = TS:Create(v,a,b)
  352.         CurrentTween[v]:Play()
  353.     end
  354. end
  355. function Enable(GUI)
  356.     if Settings.AUX.Disable == false then return end
  357.     Settings.AUX.Disable = false
  358.     GUI.ImageTransparency = 0.9
  359.     local a = TweenInfo.new(.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  360.     for i,v in pairs(GUI:GetDescendants()) do
  361.         local b = {}
  362.         if CurrentTween[v] then CurrentTween[v]:Cancel() end
  363.         if v:IsA("ImageLabel") or v:IsA("ImageButton") then
  364.             b.ImageTransparency = 0.9
  365.         elseif v:IsA("TextLabel") or v:IsA("TextButton") then
  366.             b.TextTransparency = 0
  367.         elseif v:IsA("Frame") and v.Parent ~= GUI then
  368.             b.BackgroundTransparency = 0
  369.         end
  370.         CurrentTween[v] = TS:Create(v,a,b)
  371.         CurrentTween[v]:Play()
  372.     end
  373. end
  374. local red = false
  375. function Redify(GUI)
  376.   if red == true then return end
  377.   red = true
  378.     local a = TweenInfo.new(.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  379.     for i,v in pairs(GUI:GetDescendants()) do
  380.         local b = {}
  381.         if CurrentTween1[v] then CurrentTween1[v]:Cancel() end
  382.         if v:IsA("TextLabel") or v:IsA("TextButton") then
  383.             b.TextColor3 = Color3.new(255,0,0)
  384.         elseif v:IsA("Frame") and v.Parent ~= GUI then
  385.             b.BackgroundColor3 = Color3.new(255,0,0)
  386.         end
  387.         CurrentTween1[v] = TS:Create(v,a,b)
  388.         CurrentTween1[v]:Play()
  389.     end    
  390. end
  391. function Normalify(GUI)
  392.   if red == false then return end
  393.   red = false
  394.     local a = TweenInfo.new(.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  395.     for i,v in pairs(GUI:GetDescendants()) do
  396.         local b = {}
  397.         if CurrentTween1[v] then CurrentTween1[v]:Cancel() end
  398.         if v:IsA("TextLabel") or v:IsA("TextButton") then
  399.             b.TextColor3 = Color3.new(255,255,0)
  400.         elseif v:IsA("Frame") and v.Parent ~= GUI then
  401.             b.BackgroundColor3 = Color3.new(255,255,0)
  402.         end
  403.         CurrentTween1[v] = TS:Create(v,a,b)
  404.         CurrentTween1[v]:Play()
  405.     end    
  406. end
  407. game:GetService("RunService").RenderStepped:Connect(function()
  408.     if Settings.AUX.Status ~= #Settings.AUX.Using then
  409.         Settings.AUX.Status = #Settings.AUX.Using
  410.         if Settings.AUX.CurrentTween then Settings.AUX.CurrentTween:Cancel() end
  411.         if Settings.AUX.CurrentTween1 then Settings.AUX.CurrentTween1:Cancel() end
  412.         local a = TweenInfo.new(.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  413.         local b = {}
  414.         local c = {}
  415.         if #Settings.AUX.Using <= 0 then
  416.             b.Position = UDim2.new(0, 25,1, -115)
  417.             b.Size = UDim2.new(0, 130, 0, 40)
  418.         elseif #Settings.AUX.Using == 1 then
  419.             b.Position = UDim2.new(0, 25, 1, -130)
  420.             b.Size = UDim2.new(0, 130, 0, 55)
  421.         elseif #Settings.AUX.Using == 2 then
  422.             b.Position = UDim2.new(0, 25, 1, -140)
  423.             b.Size = UDim2.new(0, 130, 0, 65)  
  424.         end
  425.         Settings.AUX.CurrentTween = TS:Create(Settings.Children.Power,a,b)
  426.         Settings.AUX.CurrentTween:Play()
  427.     end
  428. end)
  429. spawn(function()
  430.     while wait() do
  431.         if #Settings.AUX.Using <= 0 then
  432.             if Settings.AUX.Power < 100 then
  433.                 Settings.AUX.Power = Settings.AUX.Power + 1.25
  434.                 if Settings.AUX.Power > 100 then Settings.AUX.Power = 100 end
  435.             else
  436.                 Disable(Settings.Children.Power)
  437.             end
  438.         else
  439.             Enable(Settings.Children.Power)
  440.     end
  441.             if Settings.AUX.Power <= 30 then
  442.                 Redify(Settings.Children.Power)
  443.             else
  444.                 Normalify(Settings.Children.Power)
  445.             end
  446.     end
  447. end)
  448. spawn(function()
  449.     while wait(.1) do
  450.         for i,v in pairs(Settings.AUX.Using) do
  451.             Settings.AUX.Power = Settings.AUX.Power - Settings.AUX.DrainingPower[tostring(v)]
  452.             if Settings.AUX.Power <= 0 then
  453.                 Settings.AUX.Using = {}
  454.         Cooldown = true
  455.             end
  456.         end
  457.     end
  458. end)
  459.  
  460. function HealthChangeBloom()
  461.     spawn(function()
  462.     Settings.Children.HP.TextStrokeTransparency = 0.5
  463.     local ti = TweenInfo.new(
  464.         .5,
  465.         Enum.EasingStyle.Quad,
  466.         Enum.EasingDirection.Out
  467.     )
  468.   local ti1 = TweenInfo.new(
  469.         1,
  470.         Enum.EasingStyle.Quad,
  471.         Enum.EasingDirection.Out
  472.     )
  473.     local a
  474.     local t
  475.     if Settings.Health <= 20 then
  476.         Settings.Children.Health.ImageTransparency = 0.4
  477.         a = TS:Create(Settings.Children.Health,ti,{ImageTransparency = 0.9})
  478.         a:Play()
  479.     end
  480.     t = TS:Create(Settings.Children.HP,ti1,{TextStrokeTransparency = 1})
  481.     t:Play()
  482.     local b = game:GetService("RunService").Heartbeat:Connect(function()
  483.         if Settings.Break then
  484.             if a then a:Cancel() end
  485.             if t then t:Cancel() end
  486.             Settings.Children.HP.TextStrokeTransparency = 1
  487.             Settings.Children.Health.ImageTransparency = 0.9
  488.         end
  489.     end)
  490.     end)
  491. end
  492. function Check1(Text)
  493.     for i,v in pairs(Settings.AUX.Using) do
  494.         if v == Text then
  495.             return true
  496.         end
  497.     end
  498.     return false
  499. end
  500. game:GetService("RunService").Heartbeat:Connect(function()
  501.     Settings.Camera = workspace.CurrentCamera
  502.     if Settings.Health <= 20 then
  503.         Settings.Children.HP.TextColor3 = Color3.new(170,0,0)
  504.         Settings.Children.Text.TextColor3 = Color3.new(170,0,0)
  505.         Settings.Children.HP.TextStrokeColor3 = Color3.new(107,0,0)
  506.         Settings.Children.Health.ImageColor3 = Color3.new(170,0,0)
  507.     else
  508.         Settings.Children.HP.TextColor3 = Color3.new(255,255,0)
  509.         Settings.Children.Text.TextColor3 = Color3.new(255,255,0)
  510.         Settings.Children.HP.TextStrokeColor3 = Color3.new(181,181,0)      
  511.         Settings.Children.Health.ImageColor3 = Color3.new(0,0,0)           
  512.     end
  513.     if Settings.Health >= 1000 then
  514.         Settings.Children.HP.Text = 999
  515.     else
  516.         Settings.Children.HP.Text = Settings.Health
  517.     end
  518.     if Settings.Camera then
  519.         if Settings.UIS:IsKeyDown(Enum.KeyCode.Z) then
  520.             if Settings.Camera.FieldOfView > 25 then
  521.                 Settings.Camera.FieldOfView = Settings.Camera.FieldOfView-2
  522.             end
  523.         else
  524.             if Settings.Camera.FieldOfView < 70 then
  525.                 Settings.Camera.FieldOfView = Settings.Camera.FieldOfView+2
  526.             end
  527.         end        
  528.     end
  529.     if Settings.UIS:IsKeyDown(Enum.KeyCode.LeftShift) and Settings.AUX.Power > 0 then
  530.     if Cooldown == false then
  531.         if not Check1("SPRINT") then
  532.             Check("SPRINT")
  533.         end
  534.     end
  535.     else
  536.   Cooldown = false
  537.         if Check1("SPRINT") then
  538.             Check("SPRINT")
  539.         end
  540.     end
  541.     if Check1("SPRINT") then
  542.         Settings.Remote:FireServer("WS",30)
  543.     else
  544.         Settings.Remote:FireServer("WS",20)
  545.     end
  546.     if Check1("FLASHLIGHT") then
  547.         Settings.Remote:FireServer("Light",true)
  548.     else
  549.         Settings.Remote:FireServer("Light",false)
  550.     end
  551.     CheckPower()
  552.     local text = ""
  553.     for i,v in pairs(Settings.AUX.Using) do
  554.         if text == "" then
  555.             text = v
  556.         else
  557.             text = text.."\n"..v
  558.         end
  559.     end
  560.     Settings.Children.Using.Text = text
  561. end)
  562. function Check(text)
  563.     for i,v in pairs(Settings.AUX.Using) do
  564.         if v == text then
  565.             table.remove(Settings.AUX.Using,i)
  566.             return
  567.         end
  568.     end
  569.     table.insert(Settings.AUX.Using,text)
  570. end
  571. Settings.UIS.InputBegan:Connect(function(a,b)
  572.     if a.UserInputType == Enum.UserInputType.Keyboard then
  573.         if not b then
  574.             if a.KeyCode == Enum.KeyCode.F then
  575.                 Check("FLASHLIGHT")
  576.             end
  577.         end
  578.     end
  579. end)
  580. spawn(function()
  581.     while wait() do
  582.         if Settings.Health <= 20 then
  583.             wait(1)
  584.             HealthChangeBloom()
  585.         end
  586.     end
  587. end)
  588. RootPart = nil
  589. game:GetService("RunService").RenderStepped:Connect(function()
  590.     if owner.Character then
  591.         RootPart = owner.Character:FindFirstChild("HumanoidRootPart")
  592.         if owner.Character:FindFirstChildOfClass("Humanoid") then
  593.             Settings.Humanoid = owner.Character:FindFirstChildOfClass("Humanoid")
  594.             if math.ceil(Settings.Humanoid.Health) < Settings.Health then HealthChangeBloom() end
  595.             Settings.Health = math.ceil(Settings.Humanoid.Health)
  596.         end
  597.     end
  598. end)]],owner:FindFirstChildOfClass("PlayerGui"))
  599. Remote = Instance.new("RemoteEvent")
  600. Remote.Name = "ResponsiveRemote"
  601. Remote.Parent = a
  602. spawn(function()
  603.     while wait() do
  604.         Remote:FireClient(owner)
  605.     end
  606. end)
  607. Light = nil;
  608. function CreateLight(Torso)
  609.     if Light then return end
  610.     Light = Instance.new("SpotLight")
  611.     Light.Range = 30
  612.     Light.Brightness = 5
  613.     Light.Shadows = true
  614.     Light.Parent = Torso
  615. end
  616. function MakeSuit(Character)
  617.   if not Character then return end
  618.   for i,v in pairs(Character:GetChildren()) do
  619.     if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  620.       v:Destroy()
  621.     end
  622.   end
  623.   local Shirt0 = Instance.new("Shirt")
  624.   local Pants1 = Instance.new("Pants")
  625.   Shirt0.Name = "HEV Suit - Shirt"
  626.   Shirt0.ShirtTemplate = "http://www.roblox.com/asset/?id=141077880"
  627.   Pants1.Name = "HEV Suit - Pants"
  628.   Pants1.PantsTemplate = "http://www.roblox.com/asset/?id=141077987"
  629.   Shirt0.Parent = Character
  630.   Pants1.Parent = Character
  631. end
  632. MakeSuit(owner.Character)
  633. owner.CharacterAppearanceLoaded:Connect(function()
  634.     MakeSuit(owner.Character)
  635. end)
  636. local Humanoid
  637. local RootPart
  638. FreeFalling = {}
  639. FreeFalling.CalculateDamageBy = "Distance"
  640. FreeFalling.DependOnGravity = true
  641. FreeFalling.Falling = false;
  642. FreeFalling.Distance = {
  643.     Falling = 0;
  644.     Touched = 0;
  645. }
  646. FreeFalling.Damage = 0;
  647. function ReturnAllClassName(Model,ClassName,Name)
  648.     if not Model or not ClassName then return end
  649.     local all = {}
  650.     for i,v in pairs(Model:GetChildren()) do
  651.         if (not Name or v.Name == Name) and v.ClassName == ClassName then
  652.             table.insert(all,v)
  653.         end
  654.     end
  655.     return all
  656. end
  657. game:GetService("RunService").Stepped:Connect(function(a)
  658.     if owner.Character then
  659.         local a = ReturnAllClassName(owner.Character,"Humanoid")
  660.         local b = ReturnAllClassName(owner.Character,"Part","HumanoidRootPart")
  661.         if #b >= 1 then RootPart = b[1] end
  662.         if #a >= 1 then
  663.             if a[1] ~= Humanoid then
  664.                 Humanoid = a[1]
  665.                 FreeFalling.Falling = (Humanoid:GetState() == Enum.HumanoidStateType.Freefall);
  666.                 Humanoid.FreeFalling:Connect(function(boolean)
  667.                     FreeFalling.Falling = boolean
  668.                     if boolean == true then
  669.                         FreeFalling.Distance.Falling = RootPart.Position.Y
  670.                     end
  671.                     if boolean == false then
  672.                         FreeFalling.Distance.Touched = RootPart.Position.Y
  673.                         if FreeFalling.Time > 1.15 / (160/196.2) then
  674.                             if FreeFalling.CalculateDamageBy == "Distance" then
  675.                                 FreeFalling.Damage = (FreeFalling.Distance.Falling - FreeFalling.Distance.Touched) / 5
  676.                             elseif FreeFalling.CalculateDamageBy == "Time" then
  677.                                 FreeFalling.Damage = FreeFalling.Time * 50
  678.                             end
  679.                             if FreeFalling.DependOnGravity then
  680.                                 FreeFalling.Damage = math.floor(FreeFalling.Damage*(160/196.2))
  681.                             end
  682.                             if FreeFalling.Damage <= 0 then FreeFalling.Damage = 0 end
  683.                             Humanoid.Health = Humanoid.Health - FreeFalling.Damage
  684.                         end
  685.                     end
  686.                 end)
  687.             end
  688.         end
  689.     end
  690.     if FreeFalling.Falling then
  691.         if RootPart and Humanoid and Humanoid.Jump == false then
  692.             if FreeFalling.Distance.Falling < RootPart.Position.Y then
  693.                 FreeFalling.Distance.Falling = RootPart.Position.Y
  694.             end
  695.         end
  696.         FreeFalling.Time = FreeFalling.Time + a
  697.     else
  698.         FreeFalling.Time = 0
  699.     end
  700. end)
  701. Remote.OnServerEvent:Connect(function(p,data1,data2)
  702.     if p == owner and p.Character then
  703.         if data1 == "WS" then
  704.             if p.Character:FindFirstChildOfClass("Humanoid") then
  705.                 p.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = data2
  706.             end
  707.         elseif data1 == "TakeDamage" then
  708.             if p.Character:FindFirstChildOfClass("Humanoid") then
  709.                 p.Character:FindFirstChildOfClass("Humanoid").Health = p.Character:FindFirstChildOfClass("Humanoid").Health - data2
  710.             end
  711.         elseif data1 == "Light" then
  712.             if data2 == true then
  713.                 if p.Character:FindFirstChild("HumanoidRootPart") then
  714.                     CreateLight(p.Character:FindFirstChild("HumanoidRootPart"))
  715.                 elseif p.Character:FindFirstChild("Torso") then
  716.                     CreateLight(p.Character:FindFirstChild("Torso"))
  717.                 elseif p.Character:FindFirstChild("Head") then
  718.                     CreateLight(p.Character:FindFirstChild("Head"))
  719.                 end
  720.             elseif Light then Light:Destroy() Light = nil
  721.             end
  722.         end
  723.     end
  724. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement