Advertisement
VuaxExploits

Untitled

Dec 7th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local AutoFarm = Instance.new("TextButton")
  11. local Walkspeed = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local Noclip = Instance.new("TextButton")
  14. local Jumppower = Instance.new("TextButton")
  15.  
  16. --Properties:
  17.  
  18. ScreenGui.Parent = game.CoreGui
  19.  
  20. Main.Name = "Main"
  21. Main.Parent = ScreenGui
  22. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  23. Main.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  24. Main.BorderSizePixel = 0
  25. Main.Position = UDim2.new(0.217362911, 0, 0.287848592, 0)
  26. Main.Size = UDim2.new(0.163185373, 0, 0.0458167344, 0)
  27.  
  28.  
  29.  
  30.  
  31. Frame.Parent = Main
  32. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  33. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  34. Frame.BorderSizePixel = 0
  35. Frame.Position = UDim2.new(0.499999911, 0, 1.15217388, 0)
  36. Frame.Size = UDim2.new(0.999999881, 0, 0.304347813, 0)
  37. Main.Draggable = true
  38.  
  39. Frame_2.Parent = Main
  40. Frame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  41. Frame_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  42. Frame_2.BorderSizePixel = 0
  43. Frame_2.Position = UDim2.new(0.497362912, 0, 4.26610947, 0)
  44. Frame_2.Size = UDim2.new(1.00000012, 0, 6, 0)
  45.  
  46.  
  47.  
  48. AutoFarm.Name = "AutoFarm"
  49. AutoFarm.Parent = ScreenGui
  50. AutoFarm.AnchorPoint = Vector2.new(0.5, 0.5)
  51. AutoFarm.BackgroundColor3 = Color3.new(1, 1, 1)
  52. AutoFarm.BackgroundTransparency = 1
  53. AutoFarm.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  54. AutoFarm.BorderSizePixel = 0
  55. AutoFarm.Position = UDim2.new(0.214751959, 0, 0.355577648, 0)
  56. AutoFarm.Size = UDim2.new(0.160574406, 0, 0.0657370538, 0)
  57. AutoFarm.Font = Enum.Font.GothamSemibold
  58. AutoFarm.Text = "Auto Farm"
  59. AutoFarm.TextColor3 = Color3.new(1, 1, 1)
  60. AutoFarm.TextSize = 14
  61. AutoFarm.MouseButton1Down:connect(function()
  62. local groundDistance = 8
  63. local Player = game:GetService("Players").LocalPlayer
  64. local function getNearest()
  65. local nearest, dist = nil, 99999
  66. for _,v in pairs(game.Workspace.BossFolder:GetChildren()) do
  67. if(v:FindFirstChild("Head")~=nil)then
  68. local m =(Player.Character.Head.Position-v.Head.Position).magnitude
  69. if(m<dist)then
  70. dist = m
  71. nearest = v
  72. end
  73. end
  74. end
  75. for _,v in pairs(game.Workspace.enemies:GetChildren()) do
  76. if(v:FindFirstChild("Head")~=nil)then
  77. local m =(Player.Character.Head.Position-v.Head.Position).magnitude
  78. if(m<dist)then
  79. dist = m
  80. nearest = v
  81. end
  82. end
  83. end
  84. return nearest
  85. end
  86. _G.farm2 = true
  87. Player.Chatted:Connect(function(m)
  88. if(m==";autofarm false")then
  89. _G.farm2 = false
  90. elseif(m==";autofarm true")then
  91. _G.farm2 = true
  92. end
  93. end)
  94. _G.globalTarget = nil
  95. game:GetService("RunService").RenderStepped:Connect(function()
  96. if(_G.farm2==true)then
  97. local target = getNearest()
  98. if(target~=nil)then
  99. game:GetService("Workspace").CurrentCamera.CFrame = CFrame.new(game:GetService("Workspace").CurrentCamera.CFrame.p, target.Head.Position)
  100. Player.Character.HumanoidRootPart.CFrame = (target.HumanoidRootPart.CFrame * CFrame.new(0, groundDistance, 9))
  101. _G.globalTarget = target
  102. end
  103. end
  104. end)
  105. spawn(function()
  106. while wait() do
  107. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  108. game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,0,0)
  109. end
  110. end)
  111. while wait() do
  112. if(_G.farm2==true and _G.globalTarget~=nil and _G.globalTarget:FindFirstChild("Head") and Player.Character:FindFirstChildOfClass("Tool"))then
  113. local target = _G.globalTarget
  114. game.ReplicatedStorage.Gun:FireServer({["Normal"] = Vector3.new(0, 0, 0), ["Direction"] = target.Head.Position, ["Name"] = Player.Character:FindFirstChildOfClass("Tool").Name, ["Hit"] = target.Head, ["Origin"] = target.Head.Position, ["Pos"] = target.Head.Position,})
  115. wait()
  116. end
  117. end
  118. end)
  119.  
  120. Walkspeed.Name = "Walkspeed"
  121. Walkspeed.Parent = ScreenGui
  122. Walkspeed.AnchorPoint = Vector2.new(0.5, 0.5)
  123. Walkspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  124. Walkspeed.BackgroundTransparency = 1
  125. Walkspeed.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  126. Walkspeed.BorderSizePixel = 0
  127. Walkspeed.Position = UDim2.new(0.214751959, 0, 0.421314716, 0)
  128. Walkspeed.Size = UDim2.new(0.160574406, 0, 0.0657370538, 0)
  129. Walkspeed.Font = Enum.Font.GothamSemibold
  130. Walkspeed.Text = "Walkspeed"
  131. Walkspeed.TextColor3 = Color3.new(1, 1, 1)
  132. Walkspeed.TextSize = 14
  133. Walkspeed.MouseButton1Down:connect(function()
  134. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 100
  135. end)
  136.  
  137. TextLabel.Parent = ScreenGui
  138. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  139. TextLabel.BackgroundTransparency = 1
  140. TextLabel.BorderSizePixel = 0
  141. TextLabel.Position = UDim2.new(0.0861618817, 0, 0.2370518, 0)
  142. TextLabel.Size = UDim2.new(0.261096597, 0, 0.0996015966, 0)
  143. TextLabel.Font = Enum.Font.GothamSemibold
  144. TextLabel.Text = "Zombie Attack GUI"
  145. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  146. TextLabel.TextSize = 12
  147.  
  148. Noclip.Name = "Noclip"
  149. Noclip.Parent = ScreenGui
  150. Noclip.AnchorPoint = Vector2.new(0.5, 0.5)
  151. Noclip.BackgroundColor3 = Color3.new(1, 1, 1)
  152. Noclip.BackgroundTransparency = 1
  153. Noclip.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  154. Noclip.BorderSizePixel = 0
  155. Noclip.Position = UDim2.new(0.216057435, 0, 0.487051785, 0)
  156. Noclip.Size = UDim2.new(0.160574406, 0, 0.0657370538, 0)
  157. Noclip.Font = Enum.Font.GothamSemibold
  158. Noclip.Text = "Noclip \"n\""
  159. Noclip.TextColor3 = Color3.new(1, 1, 1)
  160. Noclip.TextSize = 14
  161. Noclip.MouseButton1Down:connect(function()
  162. local plr = game:service'Players'.LocalPlayer
  163. local char = plr.Character
  164. local hum = char:FindFirstChildOfClass'Humanoid'
  165. local mouse = plr:GetMouse()
  166. on = false
  167.  
  168. mouse.KeyDown:connect(function(key)
  169. if key == "n" then
  170. if not on then
  171. on = true
  172. elseif on then
  173. on = false
  174. end
  175. end
  176. end)
  177.  
  178. while wait() do
  179. if char then
  180. hum = char:FindFirstChildOfClass'Humanoid'
  181. end
  182. if on then
  183. hum:ChangeState(11)
  184. end
  185. end
  186.  
  187. end)
  188.  
  189. Jumppower.Name = "Jumppower"
  190. Jumppower.Parent = ScreenGui
  191. Jumppower.AnchorPoint = Vector2.new(0.5, 0.5)
  192. Jumppower.BackgroundColor3 = Color3.new(1, 1, 1)
  193. Jumppower.BackgroundTransparency = 1
  194. Jumppower.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  195. Jumppower.BorderSizePixel = 0
  196. Jumppower.Position = UDim2.new(0.217362911, 0, 0.552788854, 0)
  197. Jumppower.Size = UDim2.new(0.160574406, 0, 0.0657370538, 0)
  198. Jumppower.Font = Enum.Font.GothamSemibold
  199. Jumppower.Text = "Jumppower"
  200. Jumppower.TextColor3 = Color3.new(1, 1, 1)
  201. Jumppower.TextSize = 14
  202. Jumppower.MouseButton1Down:connect(function()
  203. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 200
  204. end)
  205.  
  206. -- Scripts:
  207.  
  208. local function WMCKGDS_fake_script() -- Frame.Script
  209. local script = Instance.new('Script', Frame)
  210.  
  211. while true do
  212. for a = 1,360,1 do wait(.01)
  213. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  214. end
  215. end
  216. end
  217. coroutine.wrap(WMCKGDS_fake_script)()
  218. local function CCWVQGB_fake_script() -- TextLabel.Script
  219. local script = Instance.new('Script', TextLabel)
  220.  
  221. while true do
  222. for a = 1,360,1 do wait(.01)
  223. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  224. end
  225. end
  226. end
  227. coroutine.wrap(CCWVQGB_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement