SHARE
TWEET

Untitled

Vzurxy Oct 14th, 2018 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local TowerBattlesGUI = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  4. local Frame = Instance.new("Frame")
  5. local title = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local ScrollingFrame = Instance.new("ScrollingFrame")
  8. local button = Instance.new("TextButton")
  9. local button_2 = Instance.new("TextButton")
  10. local button_3 = Instance.new("TextButton")
  11. local button_4 = Instance.new("TextButton")
  12. local button_5 = Instance.new("TextButton")
  13. local button_6 = Instance.new("TextButton")
  14. local button_7 = Instance.new("TextButton")
  15. local button_8 = Instance.new("TextButton")
  16. local button_9 = Instance.new("TextButton")
  17. local button_10 = Instance.new("TextButton")
  18. local button_11 = Instance.new("TextButton")
  19. local button_12 = Instance.new("TextButton")
  20. local button_13 = Instance.new("TextButton")
  21. local button_14 = Instance.new("TextButton")
  22. local button_15 = Instance.new("TextButton")
  23. local button_16 = Instance.new("TextButton")
  24.  
  25. -- Properties
  26.  
  27. TowerBattlesGUI.Name = "TowerBattlesGUI"
  28. TowerBattlesGUI.Parent = game.Players.LocalPlayer.PlayerGui
  29.  
  30. Frame.Parent = TowerBattlesGUI
  31. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  32. Frame.BackgroundTransparency = 0.5
  33. Frame.Size = UDim2.new(0, 100, 0, 500)
  34.  
  35. title.Name = "title"
  36. title.Parent = Frame
  37. title.BackgroundColor3 = Color3.new(1, 1, 1)
  38. title.BackgroundTransparency = 0.5
  39. title.BorderColor3 = Color3.new(0, 0, 0)
  40. title.Size = UDim2.new(0, 100, 0, 20)
  41.  
  42. TextLabel.Parent = title
  43. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  44. TextLabel.BackgroundTransparency = 1
  45. TextLabel.Size = UDim2.new(0, 100, 0, 20)
  46. TextLabel.Font = Enum.Font.SourceSans
  47. TextLabel.FontSize = Enum.FontSize.Size14
  48. TextLabel.Text = "TBMenu"
  49. TextLabel.TextSize = 14
  50.  
  51. ScrollingFrame.Parent = Frame
  52. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  53. ScrollingFrame.BackgroundTransparency = 1
  54. ScrollingFrame.Position = UDim2.new(0, 0, 0, 20)
  55. ScrollingFrame.Size = UDim2.new(0, 100, 0, 480)
  56.  
  57. button.Name = "button"
  58. button.Parent = ScrollingFrame
  59. button.BackgroundColor3 = Color3.new(1, 1, 1)
  60. button.BackgroundTransparency = 0.5
  61. button.Position = UDim2.new(0, 0, 0, 20)
  62. button.Size = UDim2.new(0, 100, 0, 20)
  63. button.Font = Enum.Font.SourceSans
  64. button.FontSize = Enum.FontSize.Size14
  65. button.Text = "Scout [250]"
  66. button.TextSize = 14
  67.  
  68. button_2.Name = "button"
  69. button_2.Parent = ScrollingFrame
  70. button_2.BackgroundColor3 = Color3.new(1, 1, 1)
  71. button_2.BackgroundTransparency = 0.5
  72. button_2.Position = UDim2.new(0, 0, 0, 50)
  73. button_2.Size = UDim2.new(0, 100, 0, 20)
  74. button_2.Font = Enum.Font.SourceSans
  75. button_2.FontSize = Enum.FontSize.Size14
  76. button_2.Text = "Sniper [450]"
  77. button_2.TextSize = 14
  78.  
  79. button_3.Name = "button"
  80. button_3.Parent = ScrollingFrame
  81. button_3.BackgroundColor3 = Color3.new(1, 1, 1)
  82. button_3.BackgroundTransparency = 0.5
  83. button_3.Position = UDim2.new(0, 0, 0, 80)
  84. button_3.Size = UDim2.new(0, 100, 0, 20)
  85. button_3.Font = Enum.Font.SourceSans
  86. button_3.FontSize = Enum.FontSize.Size14
  87. button_3.Text = "Fragger [350]"
  88. button_3.TextSize = 14
  89.  
  90. button_4.Name = "button"
  91. button_4.Parent = ScrollingFrame
  92. button_4.BackgroundColor3 = Color3.new(1, 1, 1)
  93. button_4.BackgroundTransparency = 0.5
  94. button_4.Position = UDim2.new(0, 0, 0, 110)
  95. button_4.Size = UDim2.new(0, 100, 0, 20)
  96. button_4.Font = Enum.Font.SourceSans
  97. button_4.FontSize = Enum.FontSize.Size12
  98. button_4.Text = "Shotgunner [400]"
  99. button_4.TextSize = 12
  100.  
  101. button_5.Name = "button"
  102. button_5.Parent = ScrollingFrame
  103. button_5.BackgroundColor3 = Color3.new(1, 1, 1)
  104. button_5.BackgroundTransparency = 0.5
  105. button_5.Position = UDim2.new(0, 0, 0, 140)
  106. button_5.Size = UDim2.new(0, 100, 0, 20)
  107. button_5.Font = Enum.Font.SourceSans
  108. button_5.FontSize = Enum.FontSize.Size14
  109. button_5.Text = "Cryo [200]"
  110. button_5.TextSize = 14
  111.  
  112. button_6.Name = "button"
  113. button_6.Parent = ScrollingFrame
  114. button_6.BackgroundColor3 = Color3.new(1, 1, 1)
  115. button_6.BackgroundTransparency = 0.5
  116. button_6.Position = UDim2.new(0, 0, 0, 170)
  117. button_6.Size = UDim2.new(0, 100, 0, 20)
  118. button_6.Font = Enum.Font.SourceSans
  119. button_6.FontSize = Enum.FontSize.Size14
  120. button_6.Text = "Farm [300]"
  121. button_6.TextSize = 14
  122.  
  123. button_7.Name = "button"
  124. button_7.Parent = ScrollingFrame
  125. button_7.BackgroundColor3 = Color3.new(1, 1, 1)
  126. button_7.BackgroundTransparency = 0.5
  127. button_7.Position = UDim2.new(0, 0, 0, 200)
  128. button_7.Size = UDim2.new(0, 100, 0, 20)
  129. button_7.Font = Enum.Font.SourceSans
  130. button_7.FontSize = Enum.FontSize.Size14
  131. button_7.Text = "Soldier [450]"
  132. button_7.TextSize = 14
  133.  
  134. button_8.Name = "button"
  135. button_8.Parent = ScrollingFrame
  136. button_8.BackgroundColor3 = Color3.new(1, 1, 1)
  137. button_8.BackgroundTransparency = 0.5
  138. button_8.Position = UDim2.new(0, 0, 0, 230)
  139. button_8.Size = UDim2.new(0, 100, 0, 20)
  140. button_8.Font = Enum.Font.SourceSans
  141. button_8.FontSize = Enum.FontSize.Size14
  142. button_8.Text = "Tuber [850]"
  143. button_8.TextSize = 14
  144.  
  145. button_9.Name = "button"
  146. button_9.Parent = ScrollingFrame
  147. button_9.BackgroundColor3 = Color3.new(1, 1, 1)
  148. button_9.BackgroundTransparency = 0.5
  149. button_9.Position = UDim2.new(0, 0, 0, 260)
  150. button_9.Size = UDim2.new(0, 100, 0, 20)
  151. button_9.Font = Enum.Font.SourceSans
  152. button_9.FontSize = Enum.FontSize.Size14
  153. button_9.Text = "Patrol [400]"
  154. button_9.TextSize = 14
  155.  
  156. button_10.Name = "button"
  157. button_10.Parent = ScrollingFrame
  158. button_10.BackgroundColor3 = Color3.new(1, 1, 1)
  159. button_10.BackgroundTransparency = 0.5
  160. button_10.Position = UDim2.new(0, 0, 0, 290)
  161. button_10.Size = UDim2.new(0, 100, 0, 20)
  162. button_10.Font = Enum.Font.SourceSans
  163. button_10.FontSize = Enum.FontSize.Size14
  164. button_10.Text = "Barracks [550]"
  165. button_10.TextSize = 14
  166.  
  167. button_11.Name = "button"
  168. button_11.Parent = ScrollingFrame
  169. button_11.BackgroundColor3 = Color3.new(1, 1, 1)
  170. button_11.BackgroundTransparency = 0.5
  171. button_11.Position = UDim2.new(0, 0, 0, 320)
  172. button_11.Size = UDim2.new(0, 100, 0, 20)
  173. button_11.Font = Enum.Font.SourceSans
  174. button_11.FontSize = Enum.FontSize.Size14
  175. button_11.Text = "Aviator [825]"
  176. button_11.TextSize = 14
  177.  
  178. button_12.Name = "button"
  179. button_12.Parent = ScrollingFrame
  180. button_12.BackgroundColor3 = Color3.new(1, 1, 1)
  181. button_12.BackgroundTransparency = 0.5
  182. button_12.Position = UDim2.new(0, 0, 0, 350)
  183. button_12.Size = UDim2.new(0, 100, 0, 20)
  184. button_12.Font = Enum.Font.SourceSans
  185. button_12.FontSize = Enum.FontSize.Size12
  186. button_12.Text = "Flamethrower [750]"
  187. button_12.TextSize = 12
  188.  
  189. button_13.Name = "button"
  190. button_13.Parent = ScrollingFrame
  191. button_13.BackgroundColor3 = Color3.new(1, 1, 1)
  192. button_13.BackgroundTransparency = 0.5
  193. button_13.Position = UDim2.new(0, 0, 0, 380)
  194. button_13.Size = UDim2.new(0, 100, 0, 20)
  195. button_13.Font = Enum.Font.SourceSans
  196. button_13.FontSize = Enum.FontSize.Size11
  197. button_13.Text = "Commando [1850]"
  198. button_13.TextSize = 11
  199.  
  200. button_14.Name = "button"
  201. button_14.Parent = ScrollingFrame
  202. button_14.BackgroundColor3 = Color3.new(1, 1, 1)
  203. button_14.BackgroundTransparency = 0.5
  204. button_14.Position = UDim2.new(0, 0, 0, 410)
  205. button_14.Size = UDim2.new(0, 100, 0, 20)
  206. button_14.Font = Enum.Font.SourceSans
  207. button_14.FontSize = Enum.FontSize.Size11
  208. button_14.Text = "Commander [600]"
  209. button_14.TextSize = 11
  210.  
  211. button_15.Name = "button"
  212. button_15.Parent = ScrollingFrame
  213. button_15.BackgroundColor3 = Color3.new(1, 1, 1)
  214. button_15.BackgroundTransparency = 0.5
  215. button_15.Position = UDim2.new(0, 0, 0, 440)
  216. button_15.Size = UDim2.new(0, 100, 0, 20)
  217. button_15.Font = Enum.Font.SourceSans
  218. button_15.FontSize = Enum.FontSize.Size11
  219. button_15.Text = "RailGunner [2450]"
  220. button_15.TextSize = 11
  221.  
  222. button_16.Name = "button"
  223. button_16.Parent = ScrollingFrame
  224. button_16.BackgroundColor3 = Color3.new(1, 1, 1)
  225. button_16.BackgroundTransparency = 0.5
  226. button_16.Position = UDim2.new(0, 0, 0, 470)
  227. button_16.Size = UDim2.new(0, 100, 0, 20)
  228. button_16.Font = Enum.Font.SourceSans
  229. button_16.FontSize = Enum.FontSize.Size11
  230. button_16.Text = "Phaser [3200]"
  231. button_16.TextSize = 11
  232.  
  233. button.MouseButton1Down:connect(function()
  234. game.Workspace.PlacingTower:InvokeServer("Scout")
  235. end)
  236.  
  237. button_2.MouseButton1Down:connect(function()
  238. game.Workspace.PlacingTower:InvokeServer("Sniper")
  239. end)
  240.  
  241. button_3.MouseButton1Down:connect(function()
  242. game.Workspace.PlacingTower:InvokeServer("Fragger")
  243. end)
  244.  
  245. button_4.MouseButton1Down:connect(function()
  246. game.Workspace.PlacingTower:InvokeServer("Shotgunner")
  247. end)
  248.  
  249. button_5.MouseButton1Down:connect(function()
  250. game.Workspace.PlacingTower:InvokeServer("Cryo")
  251. end)
  252.  
  253. button_6.MouseButton1Down:connect(function()
  254. game.Workspace.PlacingTower:InvokeServer("Farm")
  255. end)
  256.  
  257. button_7.MouseButton1Down:connect(function()
  258. game.Workspace.PlacingTower:InvokeServer("Soldier")
  259. end)
  260.  
  261. button_8.MouseButton1Down:connect(function()
  262. game.Workspace.PlacingTower:InvokeServer("Tuber")
  263. end)
  264.  
  265. button_9.MouseButton1Down:connect(function()
  266. game.Workspace.PlacingTower:InvokeServer("Patrol")
  267. end)
  268.  
  269. button_10.MouseButton1Down:connect(function()
  270. game.Workspace.PlacingTower:InvokeServer("Barracks")
  271. end)
  272.  
  273. button_11.MouseButton1Down:connect(function()
  274. game.Workspace.PlacingTower:InvokeServer("Aviator")
  275. end)
  276.  
  277. button_12.MouseButton1Down:connect(function()
  278. game.Workspace.PlacingTower:InvokeServer("Flamethrower")
  279. end)
  280.  
  281. button_13.MouseButton1Down:connect(function()
  282. game.Workspace.PlacingTower:InvokeServer("Commando")
  283. end)
  284.  
  285. button_14.MouseButton1Down:connect(function()
  286. game.Workspace.PlacingTower:InvokeServer("Commander")
  287. end)
  288.  
  289. button_15.MouseButton1Down:connect(function()
  290. game.Workspace.PlacingTower:InvokeServer("RailGunner")
  291. end)
  292.  
  293. button_16.MouseButton1Down:connect(function()
  294. game.Workspace.PlacingTower:InvokeServer("Phaser")
  295. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top