Advertisement
Guest User

UI Build B34

a guest
Nov 23rd, 2017
4,618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.91 KB | None | 0 0
  1. delremote=workspace.Remote.GrabItem
  2. function delobj(parent, instance)
  3. local _p=parent
  4. local _i=instance
  5. delremote:FireServer(_p,nil,_i)
  6. end
  7. local banned={}
  8.  
  9. g=Instance.new('ScreenGui',game.CoreGui)
  10. t=Instance.new('TextLabel',g)
  11. t.Active=true
  12. t.Draggable=true
  13. t.Size=UDim2.new(0,200,0,20)
  14. t.BackgroundColor3=Color3.fromRGB(28,14,28)
  15. t.TextColor3=Color3.fromRGB(121,0,121)
  16. t.Text='Apoc UI B34'
  17.  
  18. i=Instance.new('TextBox',t)
  19. i.ClearTextOnFocus=true
  20. i.Size=UDim2.new(0,200,0,20)
  21. i.Position=UDim2.new(0,0,0,20+4)
  22. i.BackgroundColor3=Color3.fromRGB(14,14,14)
  23. i.TextColor3=Color3.fromRGB(255,255,255)
  24. i.Text='[object]'
  25.  
  26. b1=Instance.new('TextButton',t)
  27. b1.Position=UDim2.new(0,0,0,40+8)
  28. b1.Size=UDim2.new(0,200,0,20)
  29. b1.BackgroundColor3=Color3.fromRGB(14,14,14)
  30. b1.TextColor3=Color3.fromRGB(255,255,255)
  31. b1.Text='Kick'
  32.  
  33. b2=Instance.new('TextButton',t)
  34. b2.Position=UDim2.new(0,0,0,60+12)
  35. b2.Size=UDim2.new(0,200,0,20)
  36. b2.BackgroundColor3=Color3.fromRGB(14,14,14)
  37. b2.TextColor3=Color3.fromRGB(255,255,255)
  38. b2.Text='Del buildings'
  39.  
  40. b3=Instance.new('TextButton',t)
  41. b3.Position=UDim2.new(0,0,0,80+16)
  42. b3.Size=UDim2.new(0,200,0,20)
  43. b3.BackgroundColor3=Color3.fromRGB(14,14,14)
  44. b3.TextColor3=Color3.fromRGB(255,255,255)
  45. b3.Text='Add buildings'
  46.  
  47. b4=Instance.new('TextButton',t)
  48. b4.Position=UDim2.new(0,0,0,100+20)
  49. b4.Size=UDim2.new(0,200,0,20)
  50. b4.BackgroundColor3=Color3.fromRGB(14,14,14)
  51. b4.TextColor3=Color3.fromRGB(255,255,255)
  52. b4.Text='Semi-ban'
  53.  
  54. b5=Instance.new('TextButton',t)
  55. b5.Position=UDim2.new(0,0,0,120+24)
  56. b5.Size=UDim2.new(0,200,0,20)
  57. b5.BackgroundColor3=Color3.fromRGB(14,14,14)
  58. b5.TextColor3=Color3.fromRGB(255,255,255)
  59. b5.Text='Un-ban'
  60.  
  61. b6=Instance.new('TextButton',t)
  62. b6.Position=UDim2.new(0,0,0,140+28)
  63. b6.Size=UDim2.new(0,200,0,20)
  64. b6.BackgroundColor3=Color3.fromRGB(14,14,14)
  65. b6.TextColor3=Color3.fromRGB(255,255,255)
  66. b6.Text='Del trees'
  67.  
  68. b7=Instance.new('TextButton',t)
  69. b7.Position=UDim2.new(0,0,0,160+32)
  70. b7.Size=UDim2.new(0,200,0,20)
  71. b7.BackgroundColor3=Color3.fromRGB(14,14,14)
  72. b7.TextColor3=Color3.fromRGB(255,255,255)
  73. b7.Text='Add trees'
  74.  
  75. b8=Instance.new('TextButton',t)
  76. b8.Position=UDim2.new(0,0,0,180+36)
  77. b8.Size=UDim2.new(0,200,0,20)
  78. b8.BackgroundColor3=Color3.fromRGB(14,14,14)
  79. b8.TextColor3=Color3.fromRGB(255,255,255)
  80. b8.Text='Del roads'
  81.  
  82. b9=Instance.new('TextButton',t)
  83. b9.Position=UDim2.new(0,0,0,200+40)
  84. b9.Size=UDim2.new(0,200,0,20)
  85. b9.BackgroundColor3=Color3.fromRGB(14,14,14)
  86. b9.TextColor3=Color3.fromRGB(255,255,255)
  87. b9.Text='Add roads'
  88.  
  89. b10=Instance.new('TextButton',t)
  90. b10.Position=UDim2.new(0,0,0,220+44)
  91. b10.Size=UDim2.new(0,200,0,20)
  92. b10.BackgroundColor3=Color3.fromRGB(14,14,14)
  93. b10.TextColor3=Color3.fromRGB(255,255,255)
  94. b10.Text='Del hills'
  95.  
  96. b11=Instance.new('TextButton',t)
  97. b11.Position=UDim2.new(0,0,0,240+48)
  98. b11.Size=UDim2.new(0,200,0,20)
  99. b11.BackgroundColor3=Color3.fromRGB(14,14,14)
  100. b11.TextColor3=Color3.fromRGB(255,255,255)
  101. b11.Text='Add hills'
  102.  
  103. b12=Instance.new('TextButton',t)
  104. b12.Position=UDim2.new(0,0,0,260+52)
  105. b12.Size=UDim2.new(0,200,0,20)
  106. b12.BackgroundColor3=Color3.fromRGB(14,14,14)
  107. b12.TextColor3=Color3.fromRGB(255,255,255)
  108. b12.Text='V. Speed'
  109.  
  110. b13=Instance.new('TextButton',t)
  111. b13.Position=UDim2.new(0,0,0,280+56)
  112. b13.Size=UDim2.new(0,200,0,20)
  113. b13.BackgroundColor3=Color3.fromRGB(14,14,14)
  114. b13.TextColor3=Color3.fromRGB(255,255,255)
  115. b13.Text='God self'
  116.  
  117. b14=Instance.new('TextButton',t)
  118. b14.Position=UDim2.new(0,0,0,300+60)
  119. b14.Size=UDim2.new(0,200,0,20)
  120. b14.BackgroundColor3=Color3.fromRGB(14,14,14)
  121. b14.TextColor3=Color3.fromRGB(255,255,255)
  122. b14.Text='V. God'
  123.  
  124. b15=Instance.new('TextButton',t)
  125. b15.Position=UDim2.new(0,0,0,320+64)
  126. b15.Size=UDim2.new(0,200,0,20)
  127. b15.BackgroundColor3=Color3.fromRGB(14,14,14)
  128. b15.TextColor3=Color3.fromRGB(255,255,255)
  129. b15.Text='G. Message'
  130.  
  131. b16=Instance.new('TextButton',t)
  132. b16.Position=UDim2.new(0,0,0,340+68)
  133. b16.Size=UDim2.new(0,200,0,20)
  134. b16.BackgroundColor3=Color3.fromRGB(14,14,14)
  135. b16.TextColor3=Color3.fromRGB(255,255,255)
  136. b16.Text='Self destruct'
  137.  
  138. b17=Instance.new('TextButton',t)
  139. b17.Position=UDim2.new(0,0,0,360+72)
  140. b17.Size=UDim2.new(0,200,0,20)
  141. b17.BackgroundColor3=Color3.fromRGB(14,14,14)
  142. b17.TextColor3=Color3.fromRGB(255,255,255)
  143. b17.Text='Player ESP'
  144.  
  145. b1.MouseButton1Down:connect(function()
  146. local state, err = pcall(function()delobj(nil, game.Players[i.Text])end)
  147. if state then print(err) end
  148. end)
  149. b2.MouseButton1Down:connect(function()
  150. local state, err = pcall(function()delobj(game.ReplicatedStorage, workspace['Anchored Objects']:FindFirstChild'Towns/Cities')end)
  151. if state then print(err) end
  152. end)
  153. b3.MouseButton1Down:connect(function()
  154. local state, err = pcall(function()
  155. delobj(workspace['Anchored Objects'],game.ReplicatedStorage:FindFirstChild("Towns/Cities"))
  156. end)
  157. if state then print(err) end
  158. end)
  159. b4.MouseButton1Down:connect(function()
  160. table.insert(banned, i.Text)
  161. pcall(function()
  162. delobj(nil, game.Players[i.Text])
  163. end)
  164. end)
  165. b5.MouseButton1Down:connect(function()
  166. state, err = pcall(function()
  167. if banned[i.Text]then
  168. banned[i.Text]=nil
  169. end
  170. end)
  171. end)
  172. b6.MouseButton1Down:connect(function()
  173. local state, err = pcall(function()delobj(game.ReplicatedStorage, workspace['Anchored Objects']:FindFirstChild'Trees/Foliage')end)
  174. if state then print(err) end
  175. end)
  176. b7.MouseButton1Down:connect(function()
  177. local state, err = pcall(function()delobj(workspace['Anchored Objects'], game.ReplicatedStorage:FindFirstChild'Trees/Foliage')end)
  178. if state then print(err) end
  179. end)
  180. b8.MouseButton1Down:connect(function()
  181. local state, err = pcall(function()delobj(game.ReplicatedStorage, workspace['Anchored Objects'].Plates:FindFirstChild'Roads')end)
  182. if state then print(err) end
  183. local state, err = pcall(function()delobj(game.ReplicatedStorage, workspace['Anchored Objects'].Plates:FindFirstChild'Dirt Roads')end)
  184. if state then print(err) end
  185. end)
  186. b9.MouseButton1Down:connect(function()
  187. local state, err = pcall(function()delobj(workspace['Anchored Objects'].Plates, game.ReplicatedStorage:FindFirstChild'Roads')end)
  188. if state then print(err) end
  189. local state, err = pcall(function()delobj(workspace['Anchored Objects'].Plates, game.ReplicatedStorage:FindFirstChild'Dirt Roads')end)
  190. if state then print(err) end
  191. end)
  192. b10.MouseButton1Down:connect(function()
  193. local state, err = pcall(function()delobj(game.ReplicatedStorage, workspace['Anchored Objects'].Plates:FindFirstChild'Hills')end)
  194. if state then print(err) end
  195. end)
  196. b11.MouseButton1Down:connect(function()
  197. local state, err = pcall(function()delobj(workspace['Anchored Objects'].Plates, game.ReplicatedStorage:FindFirstChild'Hills')end)
  198. if state then print(err) end
  199. end)
  200. b12.MouseButton1Down:connect(function()
  201. local state, err = pcall(function()
  202. for x,v in next, workspace.Vehicles:GetChildren() do
  203. if v.Name~='VehicleWreck'and'Bicycle'then
  204. v.Stats.MaxSpeed.Value=tonumber(i.Text);
  205. v.Stats.MaxSpeed.Offroad.Value=tonumber(i.Text);
  206. end
  207. end
  208. end)
  209. if state then print(err) end
  210. end)
  211. b13.MouseButton1Down:connect(function()
  212. game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid, math.huge)
  213. end)
  214. b14.MouseButton1Down:connect(function()
  215. for i,v in next, workspace.Vehicles:GetChildren() do
  216. pcall(function()
  217. if v.Name~='VehicleWreck'and'Bicycle'then
  218. delobj(nil,v.Stats.Engine.Max)
  219. end
  220. end)
  221. end
  222. end)
  223. b15.MouseButton1Down:connect(function()
  224. for x,v in pairs(game.Players:GetChildren())do
  225. workspace.Remote.SendMessage:FireServer(v, 'Blue', i.Text)
  226. end
  227. end)
  228. b16.MouseButton1Down:connect(function()
  229. g:Destroy()
  230. script:Destroy()
  231. end)
  232. b17.MouseButton1Down:connect(function()
  233. local plrs={}
  234. for x,v in next, game.Players:GetPlayers() do
  235. pcall(function()
  236. table.insert(plrs,v)
  237. end)
  238. end
  239. end)
  240. game.Players.PlayerAdded:connect(function(p)
  241. if banned[p.Name]then
  242. delobj(nil,p)
  243. end
  244. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement