Advertisement
Henryhulk

Untitled

Feb 24th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local MainFrame = Instance.new("Frame")
  5. local SecondFrame = Instance.new("Frame")
  6. local Kill = Instance.new("TextButton")
  7. local PlayerName = Instance.new("TextBox")
  8. local ScrollingFrameMain = Instance.new("ScrollingFrame")
  9. local God = Instance.new("TextButton")
  10. local Forcefield = Instance.new("TextButton")
  11. local speed = Instance.new("TextButton")
  12. local btools = Instance.new("TextButton")
  13.  
  14. -- Properties
  15.  
  16. ScreenGui.Parent = game.CoreGui
  17.  
  18. MainFrame.Name = "MainFrame"
  19. MainFrame.Parent = ScreenGui
  20. MainFrame.Active = true
  21. MainFrame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  22. MainFrame.BackgroundTransparency = 0.25
  23. MainFrame.Position = UDim2.new(0.773148119, 0, 0.70979023, 0)
  24. MainFrame.Size = UDim2.new(0, 266, 0, 141)
  25.  
  26. SecondFrame.Name = "SecondFrame"
  27. SecondFrame.Parent = MainFrame
  28. SecondFrame.Active = true
  29. SecondFrame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  30. SecondFrame.BackgroundTransparency = 0.25
  31. SecondFrame.Position = UDim2.new(0.0375939831, 0, 0.0921985805, 0)
  32. SecondFrame.Size = UDim2.new(0, 97, 0, 126)
  33.  
  34. Kill.Name = "Kill"
  35. Kill.Parent = SecondFrame
  36. Kill.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  37. Kill.Position = UDim2.new(0.0927835032, 0, 0.182539687, 0)
  38. Kill.Size = UDim2.new(0, 75, 0, 20)
  39. Kill.Font = Enum.Font.SourceSans
  40. Kill.Text = "Kill"
  41. Kill.TextColor3 = Color3.new(1, 1, 1)
  42. Kill.TextSize = 14
  43.  
  44. Kill.MouseButton1Click:connect(function()
  45. game.Players[PlayerName.Text].Character.Humanoid.Health = 0
  46. end)
  47.  
  48. PlayerName.Name = "PlayerName"
  49. PlayerName.Parent = SecondFrame
  50. PlayerName.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  51. PlayerName.Position = UDim2.new(0.0826907232, 0, 0.730619073, 0)
  52. PlayerName.Size = UDim2.new(0, 76, 0, 20)
  53. PlayerName.Font = Enum.Font.SourceSans
  54. PlayerName.Text = "Player"
  55. PlayerName.TextColor3 = Color3.new(1, 1, 1)
  56. PlayerName.TextSize = 14
  57.  
  58. ScrollingFrameMain.Name = "ScrollingFrameMain"
  59. ScrollingFrameMain.Parent = MainFrame
  60. ScrollingFrameMain.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  61. ScrollingFrameMain.Position = UDim2.new(0.533834577, 0, 0.0921985805, 0)
  62. ScrollingFrameMain.Size = UDim2.new(0, 115, 0, 126)
  63.  
  64. God.Name = "God"
  65. God.Parent = ScrollingFrameMain
  66. God.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  67. God.Size = UDim2.new(0, 100, 0, 29)
  68. God.Font = Enum.Font.SourceSans
  69. God.Text = "God"
  70. God.TextColor3 = Color3.new(1, 1, 1)
  71. God.TextSize = 14
  72.  
  73. God.MouseButton1Click:connect(function()
  74. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  75. end)
  76.  
  77. Forcefield.Name = "Forcefield"
  78. Forcefield.Parent = ScrollingFrameMain
  79. Forcefield.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  80. Forcefield.Position = UDim2.new(0, 0, 0.0912698358, 0)
  81. Forcefield.Size = UDim2.new(0, 100, 0, 29)
  82. Forcefield.Font = Enum.Font.SourceSans
  83. Forcefield.Text = "Forcefield"
  84. Forcefield.TextColor3 = Color3.new(1, 1, 1)
  85. Forcefield.TextSize = 14
  86.  
  87. Forcefield.MouseButton1Click:connect(function()
  88. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  89. end)
  90.  
  91. speed.Name = "speed"
  92. speed.Parent = ScrollingFrameMain
  93. speed.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  94. speed.Position = UDim2.new(0, 0, 0.182539701, 0)
  95. speed.Size = UDim2.new(0, 100, 0, 26)
  96. speed.Font = Enum.Font.SourceSans
  97. speed.Text = "Speed [Q to toggle]"
  98. speed.TextColor3 = Color3.new(1, 1, 1)
  99. speed.TextSize = 14
  100.  
  101. speed.MouseButton1Down:connect(function()
  102. down = false
  103. velocity = Instance.new("BodyVelocity")
  104. velocity.maxForce = Vector3.new(100000, 0, 100000)
  105. local speed = 150
  106. gyro = Instance.new("BodyGyro")
  107. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  108.  
  109. local hum = game:GetService("Players").LocalPlayer.Character.Humanoid
  110.  
  111. function onButton1Down(mouse)
  112. down = true
  113. velocity.Parent = game:GetService("Players").LocalPlayer.Character.UpperTorso
  114. velocity.velocity = (hum.MoveDirection) * speed
  115. gyro.Parent = game:GetService("Players").LocalPlayer.Character.UpperTorso
  116. while down do
  117. if not down then break end
  118. velocity.velocity = (hum.MoveDirection) * speed
  119. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  120. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  121. wait(0.1)
  122. end
  123. end
  124.  
  125. function onButton1Up(mouse)
  126. velocity.Parent = nil
  127. gyro.Parent = nil
  128. down = false
  129. end
  130.  
  131. function onSelected(mouse)
  132. mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  133. mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  134. end
  135.  
  136. btools.Name = "btools"
  137. btools.Parent = ScrollingFrameMain
  138. btools.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  139. btools.Position = UDim2.new(0, 0, 0.269841284, 0)
  140. btools.Size = UDim2.new(0, 100, 0, 26)
  141. btools.Font = Enum.Font.SourceSans
  142. btools.Text = "Btools"
  143. btools.TextColor3 = Color3.new(1, 1, 1)
  144. btools.TextSize = 14
  145.  
  146. btools.MouseButton1Down:connect(function()
  147. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  148. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  149. if child.ClassName == "Part" then
  150. child.Locked = false
  151. end
  152. if child.ClassName == "MeshPart" then
  153. child.Locked = false
  154. end
  155. if child.ClassName == "UnionOperation" then
  156. child.Locked = false
  157. end
  158. if child.ClassName == "Model" then
  159. for index, chil in pairs(child:GetChildren()) do
  160. if chil.ClassName == "Part" then
  161. chil.Locked = false
  162. end
  163. if chil.ClassName == "MeshPart" then
  164. chil.Locked = false
  165. end
  166. if chil.ClassName == "UnionOperation" then
  167. chil.Locked = false
  168. end
  169. if chil.ClassName == "Model" then
  170. for index, childe in pairs(chil:GetChildren()) do
  171. if childe.ClassName == "Part" then
  172. childe.Locked = false
  173. end
  174. if childe.ClassName == "MeshPart" then
  175. childe.Locked = false
  176. end
  177. if childe.ClassName == "UnionOperation" then
  178. childe.Locked = false
  179. end
  180. if childe.ClassName == "Model" then
  181. for index, childeo in pairs(childe:GetChildren()) do
  182. if childeo.ClassName == "Part" then
  183. childeo.Locked = false
  184. end
  185. if childeo.ClassName == "MeshPart" then
  186. childeo.Locked = false
  187. end
  188. if childeo.ClassName == "UnionOperation" then
  189. childeo.Locked = false
  190. end
  191. if childeo.ClassName == "Model" then
  192. end
  193. end
  194. end
  195. end
  196. end
  197. end
  198. end
  199. end
  200. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  201. c.BinType = Enum.BinType.Hammer
  202. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  203. c.BinType = Enum.BinType.Clone
  204. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  205. c.BinType = Enum.BinType.Grab
  206. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement