MILKITTV

Base Wars GUI 2

Apr 16th, 2017
865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.50 KB | None | 0 0
  1. local Character = game.Players.LocalPlayer.Character
  2.  
  3. -- Objects
  4.  
  5. local SkeletalsBWGUI = Instance.new("ScreenGui")
  6. local TopBar = Instance.new("TextLabel")
  7. local Core = Instance.new("Frame")
  8. local YellowBasebtn = Instance.new("TextButton")
  9. local GreenBasebtn = Instance.new("TextButton")
  10. local RiverPassbtn = Instance.new("TextButton")
  11. local MountainStoragebtn = Instance.new("TextButton")
  12. local YellowFrontlineBunkerbtn = Instance.new("TextButton")
  13. local FortifiedIslandbtn = Instance.new("TextButton")
  14. local GreenUndergroundbtn = Instance.new("TextButton")
  15. local GreenFrontlineBunkerbtn = Instance.new("TextButton")
  16. local YellowUndergroundbtn = Instance.new("TextButton")
  17. local PlayerSelect = Instance.new("TextBox")
  18. local TeleportToPlayer = Instance.new("TextButton")
  19. local Credits = Instance.new("TextLabel")
  20. local Discord = Instance.new("TextLabel")
  21. local Bighead = Instance.new("TextButton")
  22. local ESP = Instance.new("TextButton")
  23. local MessageSelect = Instance.new("TextBox")
  24. local Message = Instance.new("TextButton")
  25. local Minimize = Instance.new("TextButton")
  26.  
  27. -- Properties
  28.  
  29. SkeletalsBWGUI.Name = "Skeletals BW GUI"
  30. SkeletalsBWGUI.Parent = game.Players.LocalPlayer.PlayerGui
  31.  
  32. TopBar.Name = "TopBar"
  33. TopBar.Parent = SkeletalsBWGUI
  34. TopBar.Active = true
  35. TopBar.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  36. TopBar.Draggable = true
  37. TopBar.Position = UDim2.new(0, 150, 0, 250)
  38. TopBar.Size = UDim2.new(0, 400, 0, 25)
  39. TopBar.Font = Enum.Font.Code
  40. TopBar.FontSize = Enum.FontSize.Size18
  41. TopBar.Text = "Skeletal's Base Wars GUI"
  42. TopBar.TextSize = 18
  43.  
  44. Core.Name = "Core"
  45. Core.Parent = TopBar
  46. Core.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  47. Core.ClipsDescendants = true
  48. Core.Position = UDim2.new(0, 0, 0, 30)
  49. Core.Size = UDim2.new(0, 400, 0, 250)
  50.  
  51. YellowBasebtn.Name = "YellowBasebtn"
  52. YellowBasebtn.Parent = Core
  53. YellowBasebtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  54. YellowBasebtn.BorderColor3 = Color3.new(0, 0, 0)
  55. YellowBasebtn.Position = UDim2.new(0, 265, 0, 5)
  56. YellowBasebtn.Size = UDim2.new(0, 125, 0, 30)
  57. YellowBasebtn.Font = Enum.Font.Code
  58. YellowBasebtn.FontSize = Enum.FontSize.Size18
  59. YellowBasebtn.Text = "Yellow Base"
  60. YellowBasebtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  61. YellowBasebtn.TextSize = 18
  62.  
  63. GreenBasebtn.Name = "GreenBasebtn"
  64. GreenBasebtn.Parent = Core
  65. GreenBasebtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  66. GreenBasebtn.BorderColor3 = Color3.new(0, 0, 0)
  67. GreenBasebtn.Position = UDim2.new(0, 5, 0, 5)
  68. GreenBasebtn.Size = UDim2.new(0, 125, 0, 30)
  69. GreenBasebtn.Font = Enum.Font.Code
  70. GreenBasebtn.FontSize = Enum.FontSize.Size18
  71. GreenBasebtn.Text = "Green Base"
  72. GreenBasebtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  73. GreenBasebtn.TextSize = 18
  74.  
  75. RiverPassbtn.Name = "RiverPassbtn"
  76. RiverPassbtn.Parent = Core
  77. RiverPassbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  78. RiverPassbtn.BorderColor3 = Color3.new(0, 0, 0)
  79. RiverPassbtn.Position = UDim2.new(0, 135, 0, 5)
  80. RiverPassbtn.Size = UDim2.new(0, 125, 0, 30)
  81. RiverPassbtn.Font = Enum.Font.Code
  82. RiverPassbtn.FontSize = Enum.FontSize.Size18
  83. RiverPassbtn.Text = "River Pass"
  84. RiverPassbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  85. RiverPassbtn.TextSize = 18
  86.  
  87. MountainStoragebtn.Name = "MountainStoragebtn"
  88. MountainStoragebtn.Parent = Core
  89. MountainStoragebtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  90. MountainStoragebtn.BorderColor3 = Color3.new(0, 0, 0)
  91. MountainStoragebtn.Position = UDim2.new(0, 135, 0, 40)
  92. MountainStoragebtn.Size = UDim2.new(0, 125, 0, 30)
  93. MountainStoragebtn.Font = Enum.Font.Code
  94. MountainStoragebtn.FontSize = Enum.FontSize.Size14
  95. MountainStoragebtn.Text = "Mountain Storage"
  96. MountainStoragebtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  97. MountainStoragebtn.TextSize = 14
  98.  
  99. YellowFrontlineBunkerbtn.Name = "YellowFrontlineBunkerbtn"
  100. YellowFrontlineBunkerbtn.Parent = Core
  101. YellowFrontlineBunkerbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  102. YellowFrontlineBunkerbtn.BorderColor3 = Color3.new(0, 0, 0)
  103. YellowFrontlineBunkerbtn.Position = UDim2.new(0, 265, 0, 40)
  104. YellowFrontlineBunkerbtn.Size = UDim2.new(0, 125, 0, 30)
  105. YellowFrontlineBunkerbtn.Font = Enum.Font.Code
  106. YellowFrontlineBunkerbtn.FontSize = Enum.FontSize.Size10
  107. YellowFrontlineBunkerbtn.Text = "Yellow Frontline Bunker"
  108. YellowFrontlineBunkerbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  109. YellowFrontlineBunkerbtn.TextSize = 10
  110.  
  111. FortifiedIslandbtn.Name = "FortifiedIslandbtn"
  112. FortifiedIslandbtn.Parent = Core
  113. FortifiedIslandbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  114. FortifiedIslandbtn.BorderColor3 = Color3.new(0, 0, 0)
  115. FortifiedIslandbtn.Position = UDim2.new(0, 135, 0, 75)
  116. FortifiedIslandbtn.Size = UDim2.new(0, 125, 0, 30)
  117. FortifiedIslandbtn.Font = Enum.Font.Code
  118. FortifiedIslandbtn.FontSize = Enum.FontSize.Size14
  119. FortifiedIslandbtn.Text = "Fortified Island"
  120. FortifiedIslandbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  121. FortifiedIslandbtn.TextSize = 14
  122.  
  123. GreenUndergroundbtn.Name = "GreenUndergroundbtn"
  124. GreenUndergroundbtn.Parent = Core
  125. GreenUndergroundbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  126. GreenUndergroundbtn.BorderColor3 = Color3.new(0, 0, 0)
  127. GreenUndergroundbtn.Position = UDim2.new(0, 5, 0, 75)
  128. GreenUndergroundbtn.Size = UDim2.new(0, 125, 0, 30)
  129. GreenUndergroundbtn.Font = Enum.Font.Code
  130. GreenUndergroundbtn.FontSize = Enum.FontSize.Size14
  131. GreenUndergroundbtn.Text = "Green Underground"
  132. GreenUndergroundbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  133. GreenUndergroundbtn.TextSize = 14
  134.  
  135. GreenFrontlineBunkerbtn.Name = "GreenFrontlineBunkerbtn"
  136. GreenFrontlineBunkerbtn.Parent = Core
  137. GreenFrontlineBunkerbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  138. GreenFrontlineBunkerbtn.BorderColor3 = Color3.new(0, 0, 0)
  139. GreenFrontlineBunkerbtn.Position = UDim2.new(0, 5, 0, 40)
  140. GreenFrontlineBunkerbtn.Size = UDim2.new(0, 125, 0, 30)
  141. GreenFrontlineBunkerbtn.Font = Enum.Font.Code
  142. GreenFrontlineBunkerbtn.FontSize = Enum.FontSize.Size10
  143. GreenFrontlineBunkerbtn.Text = "Green Frontline Bunker"
  144. GreenFrontlineBunkerbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  145. GreenFrontlineBunkerbtn.TextSize = 10
  146.  
  147. YellowUndergroundbtn.Name = "YellowUndergroundbtn"
  148. YellowUndergroundbtn.Parent = Core
  149. YellowUndergroundbtn.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  150. YellowUndergroundbtn.BorderColor3 = Color3.new(0, 0, 0)
  151. YellowUndergroundbtn.Position = UDim2.new(0, 265, 0, 75)
  152. YellowUndergroundbtn.Size = UDim2.new(0, 125, 0, 30)
  153. YellowUndergroundbtn.Font = Enum.Font.Code
  154. YellowUndergroundbtn.FontSize = Enum.FontSize.Size12
  155. YellowUndergroundbtn.Text = "Yellow Underground"
  156. YellowUndergroundbtn.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  157. YellowUndergroundbtn.TextSize = 12
  158.  
  159. PlayerSelect.Name = "PlayerSelect"
  160. PlayerSelect.Parent = Core
  161. PlayerSelect.Active = false
  162. PlayerSelect.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  163. PlayerSelect.BorderColor3 = Color3.new(0, 0, 0)
  164. PlayerSelect.Position = UDim2.new(0, 5, 0, 110)
  165. PlayerSelect.Size = UDim2.new(0, 256, 0, 30)
  166. PlayerSelect.Font = Enum.Font.Code
  167. PlayerSelect.FontSize = Enum.FontSize.Size14
  168. PlayerSelect.Text = "Enter Player Name"
  169. PlayerSelect.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  170. PlayerSelect.TextSize = 14
  171.  
  172. TeleportToPlayer.Name = "TeleportToPlayer"
  173. TeleportToPlayer.Parent = Core
  174. TeleportToPlayer.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  175. TeleportToPlayer.BorderColor3 = Color3.new(0, 0, 0)
  176. TeleportToPlayer.Position = UDim2.new(0, 265, 0, 110)
  177. TeleportToPlayer.Size = UDim2.new(0, 125, 0, 30)
  178. TeleportToPlayer.Font = Enum.Font.Code
  179. TeleportToPlayer.FontSize = Enum.FontSize.Size12
  180. TeleportToPlayer.Text = "Teleport To Player"
  181. TeleportToPlayer.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  182. TeleportToPlayer.TextSize = 12
  183.  
  184. Credits.Name = "Credits"
  185. Credits.Parent = Core
  186. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  187. Credits.BackgroundTransparency = 1
  188. Credits.BorderSizePixel = 0
  189. Credits.Position = UDim2.new(0, 100, 0, 215)
  190. Credits.Size = UDim2.new(0, 200, 0, 50)
  191. Credits.Font = Enum.Font.Code
  192. Credits.FontSize = Enum.FontSize.Size10
  193. Credits.Text = "Credits to BlackLotus for helping me out, aswell as ma44, zFILMZ, and K1LL0X."
  194. Credits.TextSize = 10
  195.  
  196. Discord.Name = "Discord"
  197. Discord.Parent = Core
  198. Discord.BackgroundColor3 = Color3.new(1, 1, 1)
  199. Discord.BackgroundTransparency = 1
  200. Discord.BorderSizePixel = 0
  201. Discord.Position = UDim2.new(0, 100, 0, 200)
  202. Discord.Size = UDim2.new(0, 200, 0, 50)
  203. Discord.Font = Enum.Font.Code
  204. Discord.FontSize = Enum.FontSize.Size14
  205. Discord.Text = "My Discord: Skeletal#7065"
  206. Discord.TextSize = 14
  207.  
  208. Bighead.Name = "Bighead"
  209. Bighead.Parent = Core
  210. Bighead.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  211. Bighead.BorderColor3 = Color3.new(0, 0, 0)
  212. Bighead.Position = UDim2.new(0, 135, 0, 180)
  213. Bighead.Size = UDim2.new(0, 125, 0, 30)
  214. Bighead.Font = Enum.Font.Code
  215. Bighead.FontSize = Enum.FontSize.Size24
  216. Bighead.Text = "Bighead"
  217. Bighead.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  218. Bighead.TextSize = 24
  219. Bighead.TextWrapped = true
  220.  
  221. ESP.Name = "ESP"
  222. ESP.Parent = Core
  223. ESP.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  224. ESP.BorderColor3 = Color3.new(0, 0, 0)
  225. ESP.Position = UDim2.new(0, 265, 0, 180)
  226. ESP.Size = UDim2.new(0, 125, 0, 30)
  227. ESP.Font = Enum.Font.Code
  228. ESP.FontSize = Enum.FontSize.Size24
  229. ESP.Text = "ESP"
  230. ESP.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  231. ESP.TextSize = 24
  232. ESP.TextWrapped = true
  233.  
  234. MessageSelect.Name = "MessageSelect"
  235. MessageSelect.Parent = Core
  236. MessageSelect.Active = false
  237. MessageSelect.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  238. MessageSelect.BorderColor3 = Color3.new(0, 0, 0)
  239. MessageSelect.Position = UDim2.new(0, 5, 0, 145)
  240. MessageSelect.Size = UDim2.new(0, 256, 0, 30)
  241. MessageSelect.Font = Enum.Font.Code
  242. MessageSelect.FontSize = Enum.FontSize.Size14
  243. MessageSelect.Text = "Enter Message"
  244. MessageSelect.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  245. MessageSelect.TextSize = 14
  246.  
  247. Message.Name = "Message"
  248. Message.Parent = Core
  249. Message.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
  250. Message.BorderColor3 = Color3.new(0, 0, 0)
  251. Message.Position = UDim2.new(0, 265, 0, 145)
  252. Message.Size = UDim2.new(0, 125, 0, 30)
  253. Message.Font = Enum.Font.Code
  254. Message.FontSize = Enum.FontSize.Size12
  255. Message.Text = "Message"
  256. Message.TextColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  257. Message.TextSize = 12
  258.  
  259. Minimize.Name = "Minimize"
  260. Minimize.Parent = TopBar
  261. Minimize.BackgroundColor3 = Color3.new(0.745098, 0, 0.0117647)
  262. Minimize.BorderSizePixel = 0
  263. Minimize.Position = UDim2.new(0, 375, 0, 0)
  264. Minimize.Size = UDim2.new(0, 25, 1, 0)
  265. Minimize.Font = Enum.Font.SourceSans
  266. Minimize.FontSize = Enum.FontSize.Size18
  267. Minimize.Text = "-"
  268. Minimize.TextColor3 = Color3.new(1, 1, 1)
  269. Minimize.TextSize = 18
  270.  
  271. local YellowBase = function()
  272. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1019.84, 260.938, 38.3488)
  273. end
  274. YellowBasebtn.MouseButton1Down:connect(YellowBase)
  275.  
  276. local GreenBase = function()
  277. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1019.99, 260.824, 7.91543)
  278. end
  279. GreenBasebtn.MouseButton1Down:connect(GreenBase)
  280.  
  281. local RiverPass = function()
  282. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4.43478, 214.428, -67.4713)
  283. end
  284. RiverPassbtn.MouseButton1Down:connect(RiverPass)
  285.  
  286. local MountainStorage = function()
  287. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(4.76334, 191.438, 421.142)
  288. end
  289. MountainStoragebtn.MouseButton1Down:connect(MountainStorage)
  290.  
  291. local YellowFrontlineBunker = function()
  292. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(668.267, 221.844, 104.438)
  293. end
  294. YellowFrontlineBunkerbtn.MouseButton1Down:connect(YellowFrontlineBunker)
  295.  
  296. local FortifiedIsland = function()
  297. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0.386523, 241.438, -1368.63)
  298. end
  299. FortifiedIslandbtn.MouseButton1Down:connect(FortifiedIsland)
  300.  
  301. local GreenUnderground = function()
  302. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1038.49, 193.232, 8.87813)
  303. end
  304. GreenUndergroundbtn.MouseButton1Down:connect(GreenUnderground)
  305.  
  306. local GreenFrontlineBunker = function()
  307. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-625.969, 222.242, 92.3934)
  308. end
  309. GreenFrontlineBunkerbtn.MouseButton1Down:connect(GreenFrontlineBunker)
  310.  
  311. local YellowUnderground = function()
  312. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1039.24, 193.278, 38.5407)
  313. end
  314. YellowUndergroundbtn.MouseButton1Down:connect(YellowUnderground)
  315.  
  316. local TeleportToPlayer1 = function()
  317. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace[PlayerSelect.Text].Torso.Position)
  318. end
  319. TeleportToPlayer.MouseButton1Down:connect(TeleportToPlayer1)
  320.  
  321. local ESP1 = function()
  322. function Create(base, team)
  323. local bb = Instance.new('BillboardGui', game.CoreGui)
  324. bb.Adornee = base
  325. bb.ExtentsOffset = Vector3.new(0,1,0)
  326. bb.AlwaysOnTop = true
  327. bb.Size = UDim2.new(0,5,0,5)
  328. bb.StudsOffset = Vector3.new(0,1,0)
  329. bb.Name = 'tracker'
  330. local frame = Instance.new('Frame',bb)
  331. frame.ZIndex = 10
  332. frame.BackgroundTransparency = 0.3
  333. frame.Size = UDim2.new(1,0,1,0)
  334. local txtlbl = Instance.new('TextLabel',bb)
  335. txtlbl.ZIndex = 10
  336. txtlbl.BackgroundTransparency = 1
  337. txtlbl.Position = UDim2.new(0,0,0,-35)
  338. txtlbl.Size = UDim2.new(1,0,10,0)
  339. txtlbl.Font = 'ArialBold'
  340. txtlbl.FontSize = 'Size12'
  341. txtlbl.Text = base.Parent.Name:upper()
  342. txtlbl.TextStrokeTransparency = 0.5
  343. if team then
  344. txtlbl.TextColor3 = Color3.new(0,1,1)
  345. frame.BackgroundColor3 = Color3.new(0,1,1)
  346. else
  347. txtlbl.TextColor3 = Color3.new(1,0,0)
  348. frame.BackgroundColor3 = Color3.new(1,0,0)
  349. end
  350. end
  351.  
  352. function Clear()
  353. for _,v in pairs(game.CoreGui:children()) do
  354. if v.Name == 'tracker' and v:isA('BillboardGui') then
  355. v:Destroy()
  356. end
  357. end
  358. end
  359.  
  360. function Find()
  361. Clear()
  362. track = true
  363. spawn(function()
  364. while wait(1) do
  365. if track then
  366. Clear()
  367. for _,v in pairs(game.Players:players()) do
  368. if v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  369. if v.Character and v.Character.Head then
  370. Create(v.Character.Head, false)
  371. end
  372. end
  373. end
  374. end
  375. wait(1)
  376. end
  377. end)
  378. end
  379.  
  380. Find()
  381. end
  382. ESP.MouseButton1Down:connect(ESP1)
  383.  
  384. local Bighead1 = function()
  385. --Run Second
  386. _G.HeadSize = 50
  387. _G.HeadOffset = 25
  388. _G.FEnabled = true
  389. game:service'RunService'.Stepped:connect(function()
  390. if _G.FEnabled then
  391. for i,v in pairs(game:service'Players':GetPlayers()) do
  392. if v.TeamColor ~= game:service'Players'.LocalPlayer.TeamColor then
  393. --if v.Name ~= game:service'Players'.LocalPlayer.Name then
  394. pcall(function()
  395. pcall(function()v.Character.Head.Mesh:Destroy() end)
  396. v.Character.Head.CanCollide = false
  397. v.Character.Head.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
  398. v.Character.Head.CFrame = v.Character.Torso.CFrame * CFrame.new(0,_G.HeadOffset,0)
  399. end)
  400. --end
  401. end
  402. end
  403. end
  404. end)
  405.  
  406. end
  407. Bighead.MouseButton1Down:connect(Bighead1)
  408.  
  409. local Message1 = function()
  410. GameMessageSet = MessageSelect.Text
  411. game.ReplicatedStorage.EventHandlers.RequestGameMessage:FireServer(MessageSelect.Text)
  412. end
  413.  
  414. Message.MouseButton1Down:connect(Message1)
Add Comment
Please, Sign In to add comment