Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.02 KB | None | 0 0
  1. --]]
  2. plr = game:GetService('Players').LocalPlayer
  3. B1 = 0
  4. B2 = 0
  5. B3 = 0
  6. B4 = 0
  7. local ScreenGui = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local Frame_3 = Instance.new("Frame")
  11. local GuiCredit = Instance.new("TextLabel")
  12. local ScriptCredit = Instance.new("TextLabel")
  13. local GameName = Instance.new("TextLabel")
  14. local Button1 = Instance.new("TextButton")
  15. local Button2 = Instance.new("TextButton")
  16. local Button3 = Instance.new("TextButton")
  17. local Light2 = Instance.new("TextLabel")
  18. local Button4 = Instance.new("TextButton")
  19. local Light4 = Instance.new("TextLabel")
  20. local Light1 = Instance.new("TextLabel")
  21. local Light3 = Instance.new("TextLabel")
  22. ScreenGui.Parent = game.CoreGui
  23. Frame.Parent = ScreenGui
  24. Frame.Active = true
  25. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  26. Frame.BackgroundTransparency = 0.44999998807907
  27. Frame.BorderSizePixel = 0
  28. Frame.LayoutOrder = 1
  29. Frame.Position = UDim2.new(0, 510, 0, 204)
  30. Frame.Selectable = true
  31. Frame.Size = UDim2.new(0, 394, 0, 223)
  32. Frame.Draggable = true
  33. Frame_2.Parent = Frame
  34. Frame_2.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  35. Frame_2.BackgroundTransparency = 0.5
  36. Frame_2.BorderSizePixel = 0
  37. Frame_2.Position = UDim2.new(0, 0, 1, 0)
  38. Frame_2.Size = UDim2.new(0, 402, 0, 8)
  39. Frame_3.Parent = Frame
  40. Frame_3.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  41. Frame_3.BackgroundTransparency = 0.5
  42. Frame_3.BorderSizePixel = 0
  43. Frame_3.Position = UDim2.new(1, 0, 0, 0)
  44. Frame_3.Size = UDim2.new(0, 8, 0, 223)
  45. Button1.TextWrapped = true
  46. Button2.TextWrapped = true
  47. Button3.TextWrapped = true
  48. Button4.TextWrapped = true
  49. GuiCredit.Name = "GuiCredit"
  50. GuiCredit.Parent = Frame
  51. GuiCredit.BackgroundColor3 = Color3.new(1, 1, 1)
  52. GuiCredit.BackgroundTransparency = 1
  53. GuiCredit.Position = UDim2.new(0, 0, 0.905829608, 0)
  54. GuiCredit.Size = UDim2.new(0, 194, 0, 21)
  55. GuiCredit.Font = Enum.Font.SourceSans
  56. GuiCredit.TextColor3 = Color3.new(0, 0, 0)
  57. GuiCredit.TextSize = 16
  58. ScriptCredit.Name = "ScriptCredit"
  59. ScriptCredit.Parent = Frame
  60. ScriptCredit.BackgroundColor3 = Color3.new(1, 1, 1)
  61. ScriptCredit.BackgroundTransparency = 1
  62. ScriptCredit.Position = UDim2.new(0, 194, 0, 202)
  63. ScriptCredit.Size = UDim2.new(0, 208, 0, 21)
  64. ScriptCredit.Font = Enum.Font.SourceSans
  65. ScriptCredit.TextColor3 = Color3.new(0, 0, 0)
  66. ScriptCredit.TextSize = 16
  67. ScriptCredit.TextWrapped = true
  68. GameName.Name = "GameName"
  69. GameName.Parent = Frame
  70. GameName.BackgroundColor3 = Color3.new(1, 1, 1)
  71. GameName.BackgroundTransparency = 1
  72. GameName.BorderSizePixel = 0
  73. GameName.Size = UDim2.new(0, 394, 0, 21)
  74. GameName.Font = Enum.Font.SourceSans
  75. GameName.TextColor3 = Color3.new(0, 0, 0)
  76. GameName.TextSize = 16
  77. Button1.Name = "Button1"
  78. Button1.Parent = Frame
  79. Button1.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  80. Button1.BackgroundTransparency = 0.40000000596046
  81. Button1.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  82. Button1.BorderSizePixel = 0
  83. Button1.Position = UDim2.new(0, 23, 0, 49)
  84. Button1.Size = UDim2.new(0, 149, 0, 45)
  85. Button1.Font = Enum.Font.SourceSans
  86. Button1.Text = ""
  87. Button1.TextColor3 = Color3.new(0, 0, 0)
  88. Button1.TextSize = 14
  89. Button2.Name = "Button2"
  90. Button2.Parent = Frame
  91. Button2.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  92. Button2.BackgroundTransparency = 0.40000000596046
  93. Button2.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  94. Button2.BorderSizePixel = 0
  95. Button2.Position = UDim2.new(0, 23, 0, 127)
  96. Button2.Size = UDim2.new(0, 149, 0, 46)
  97. Button2.Font = Enum.Font.SourceSans
  98. Button2.Text = ""
  99. Button2.TextColor3 = Color3.new(0, 0, 0)
  100. Button2.TextSize = 14
  101. Button3.Name = "Button3"
  102. Button3.Parent = Frame
  103. Button3.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  104. Button3.BackgroundTransparency = 0.40000000596046
  105. Button3.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  106. Button3.BorderSizePixel = 0
  107. Button3.Position = UDim2.new(0, 223, 0, 49)
  108. Button3.Size = UDim2.new(0, 149, 0, 45)
  109. Button3.Font = Enum.Font.SourceSans
  110. Button3.Text = ""
  111. Button3.TextColor3 = Color3.new(0, 0, 0)
  112. Button3.TextSize = 14
  113. Light2.Name = "Light2"
  114. Light2.Parent = Frame
  115. Light2.BackgroundColor3 = Color3.new(0, 0, 0)
  116. Light2.BorderSizePixel = 0
  117. Light2.Position = UDim2.new(0, 162, 0, 127)
  118. Light2.Size = UDim2.new(0, 10, 0, 10)
  119. Light2.Font = Enum.Font.SourceSans
  120. Light2.Text = ""
  121. Light2.TextColor3 = Color3.new(0, 0, 0)
  122. Light2.TextSize = 14
  123. Button4.Name = "Button4"
  124. Button4.Parent = Frame
  125. Button4.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451)
  126. Button4.BackgroundTransparency = 0.40000000596046
  127. Button4.BorderColor3 = Color3.new(0.32549, 0.32549, 0.32549)
  128. Button4.BorderSizePixel = 0
  129. Button4.Position = UDim2.new(0, 223, 0, 127)
  130. Button4.Size = UDim2.new(0, 149, 0, 46)
  131. Button4.Font = Enum.Font.SourceSans
  132. Button4.Text = ""
  133. Button4.TextColor3 = Color3.new(0, 0, 0)
  134. Button4.TextSize = 14
  135. Light4.Name = "Light4"
  136. Light4.Parent = Frame
  137. Light4.BackgroundColor3 = Color3.new(0, 0, 0)
  138. Light4.BorderSizePixel = 0
  139. Light4.Position = UDim2.new(0, 362, 0, 127)
  140. Light4.Size = UDim2.new(0, 10, 0, 10)
  141. Light4.Font = Enum.Font.SourceSans
  142. Light4.Text = ""
  143. Light4.TextColor3 = Color3.new(0, 0, 0)
  144. Light4.TextSize = 14
  145. Light1.Name = "Light1"
  146. Light1.Parent = Frame
  147. Light1.BackgroundColor3 = Color3.new(0, 0, 0)
  148. Light1.BorderSizePixel = 0
  149. Light1.Position = UDim2.new(0, 162, 0, 49)
  150. Light1.Size = UDim2.new(0, 10, 0, 10)
  151. Light1.Font = Enum.Font.SourceSans
  152. Light1.Text = ""
  153. Light1.TextColor3 = Color3.new(0, 0, 0)
  154. Light1.TextSize = 14
  155. Light3.Name = "Light3"
  156. Light3.Parent = Frame
  157. Light3.BackgroundColor3 = Color3.new(0, 0, 0)
  158. Light3.BorderSizePixel = 0
  159. Light3.Position = UDim2.new(0, 362, 0, 49)
  160. Light3.Size = UDim2.new(0, 10, 0, 10)
  161. Light3.Font = Enum.Font.SourceSans
  162. Light3.Text = ""
  163. Light3.TextColor3 = Color3.new(0, 0, 0)
  164. Light3.TextSize = 14
  165. -------------------------------
  166. GuiCredit.Text = "Gui ~ brianops16"
  167. ScriptCredit.Text = "Script ~ brianops16"-- credit yourself here if you made the script
  168. GameName.Text = "War of the Elements"--Enter the game name you are exploiting
  169. -------------------------------
  170. Button1.Text = "Bring Bandits"
  171.  
  172. Button2.Text = "Tp to chests"
  173.  
  174. Button3.Text = ""
  175.  
  176. Button4.Text = ""
  177. --------------------------------
  178.  
  179. Button1.MouseButton1Click:connect(function()
  180. if B1 == 0 then
  181. B1 = 1
  182. Light1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  183. while B1 == 1 do
  184. game:GetService('RunService').Stepped:wait()
  185. for i,work in pairs(game.Workspace:GetChildren()) do
  186. if B1 == 1 then
  187. local check = work:FindFirstChild("NPC")
  188. if check ~= nil then
  189. for i,parts in pairs(work:GetChildren()) do
  190. if parts.ClassName == "Part" or parts.ClassName == "MeshPart" and B1 == 1 then
  191. parts.Anchored = true
  192. parts.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-3)
  193. end
  194. end
  195. end
  196. end
  197. end
  198. end
  199. elseif B1 == 1 then
  200. B1 = 0
  201. Light1.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  202. end
  203. end)
  204.  
  205. Button2.MouseButton1Click:connect(function()
  206. if B2 == 0 then
  207. B2 = 1
  208. Light2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  209. while B2 == 1 do
  210. game:GetService('RunService').Stepped:wait()
  211. for i,work in pairs(game.Workspace:GetChildren()) do
  212. if B2 == 1 and work.Name == "Chest" then
  213.  
  214. start = plr.Character.HumanoidRootPart.CFrame
  215. wait()
  216. plr.Character.HumanoidRootPart.CFrame = work.CFrame * CFrame.new(0,2,0)
  217. wait(1)
  218. plr.Character.HumanoidRootPart.CFrame = start
  219. end
  220. end
  221. end
  222. elseif B2 == 1 then
  223. B2 = 0
  224. Light2.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  225. end
  226. end)
  227. Button3.MouseButton1Click:connect(function()
  228. if B3 == 0 then
  229. B3 = 1
  230. Light3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  231. while B3 == 1 do
  232. game:GetService('RunService').Stepped:wait()
  233. --code
  234. end
  235. elseif B3 == 1 then
  236. B3 = 0
  237. Light3.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  238. end
  239. end)
  240. Button4.MouseButton1Click:connect(function()
  241. if B4 == 0 then
  242. B4 = 1
  243. Light4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) --White
  244. while B4 == 1 do
  245. game:GetService('RunService').Stepped:wait()
  246. --code
  247. end
  248. elseif B4 == 1 then
  249. B4 = 0
  250. Light4.BackgroundColor3 = Color3.fromRGB(0, 0, 0) --Black
  251. end
  252. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement