Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.12 KB | None | 0 0
  1. --[[
  2. -[ Attrition Hub made by JumboLumbo@V3rm ]-
  3. --]]
  4.  
  5. --// Variables
  6.  
  7. local Players = game:GetService("Players")
  8. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  9. local Teams = game:GetService("Teams")
  10.  
  11. local Remotes = ReplicatedStorage:FindFirstChild("Remotes")
  12. local DamageDealt = Remotes:FindFirstChild("DamageDealt")
  13.  
  14. local Player = Players.LocalPlayer
  15. local Team1 = Teams["The United Bloxxers"]
  16. local Team2 = Teams["League of 1x1x1x1"]
  17.  
  18. --// Extras
  19.  
  20. if Player.PlayerGui:FindFirstChild("AttritionHub") then
  21. Player.PlayerGui:FindFirstChild("AttritionHub"):Destroy()
  22. end
  23.  
  24. --// Objects
  25.  
  26. local AttritionHub = Instance.new("ScreenGui")
  27. local Main = Instance.new("Frame")
  28. local Title = Instance.new("Frame")
  29. local Shadow = Instance.new("Frame")
  30. local Title_2 = Instance.new("TextLabel")
  31. local Credits = Instance.new("TextLabel")
  32. local PointsGiver = Instance.new("Frame")
  33. local Amount = Instance.new("TextBox")
  34. local Give = Instance.new("TextButton")
  35. local Label = Instance.new("TextLabel")
  36. local Commands = Instance.new("Frame")
  37. local KillAll = Instance.new("TextButton")
  38. local KillPlayer = Instance.new("TextButton")
  39. local Title_3 = Instance.new("TextLabel")
  40. local PlayerName = Instance.new("TextBox")
  41. local Teleport = Instance.new("Frame")
  42. local List = Instance.new("ScrollingFrame")
  43. local UIListLayout = Instance.new("UIListLayout")
  44. local RedBase = Instance.new("TextButton")
  45. local BlueBase = Instance.new("TextButton")
  46. local PointA = Instance.new("TextButton")
  47. local PointB = Instance.new("TextButton")
  48. local PointC = Instance.new("TextButton")
  49. local Title_4 = Instance.new("TextLabel")
  50. local Extras = Instance.new("Frame")
  51. local Speed = Instance.new("TextButton")
  52. local Title_5 = Instance.new("TextLabel")
  53. local Jump = Instance.new("TextButton")
  54. local ESP = Instance.new("TextButton")
  55. local Label_2 = Instance.new("TextLabel")
  56.  
  57. --// Properties
  58.  
  59. AttritionHub.Name = "AttritionHub"
  60. AttritionHub.Parent = Player.PlayerGui
  61. AttritionHub.ResetOnSpawn = false
  62.  
  63. Main.Name = "Main"
  64. Main.Parent = AttritionHub
  65. Main.Active = true
  66. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  67. Main.BorderSizePixel = 0
  68. Main.Draggable = true
  69. Main.Position = UDim2.new(0.00380228134, 0, 0.650000036, 0)
  70. Main.Selectable = true
  71. Main.Size = UDim2.new(0, 376, 0, 241)
  72.  
  73. Title.Name = "Title"
  74. Title.Parent = Main
  75. Title.BackgroundColor3 = Color3.new(0, 0.333333, 1)
  76. Title.BorderSizePixel = 0
  77. Title.Size = UDim2.new(0, 376, 0, 30)
  78.  
  79. Shadow.Name = "Shadow"
  80. Shadow.Parent = Title
  81. Shadow.BackgroundColor3 = Color3.new(0, 0.247059, 0.745098)
  82. Shadow.BorderSizePixel = 0
  83. Shadow.Position = UDim2.new(0, 0, 0, 25)
  84. Shadow.Size = UDim2.new(0, 376, 0, 5)
  85.  
  86. Title_2.Name = "Title"
  87. Title_2.Parent = Title
  88. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Title_2.BackgroundTransparency = 1
  90. Title_2.Size = UDim2.new(0, 376, 0, 25)
  91. Title_2.Font = Enum.Font.SourceSansBold
  92. Title_2.FontSize = Enum.FontSize.Size28
  93. Title_2.Text = "Attrition Hub"
  94. Title_2.TextColor3 = Color3.new(1, 1, 1)
  95. Title_2.TextSize = 25
  96.  
  97. Credits.Name = "Credits"
  98. Credits.Parent = Main
  99. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  100. Credits.BackgroundTransparency = 1
  101. Credits.Position = UDim2.new(0, 5, 0, 221)
  102. Credits.Size = UDim2.new(0, 120, 0, 15)
  103. Credits.Font = Enum.Font.SourceSansLight
  104. Credits.FontSize = Enum.FontSize.Size14
  105. Credits.Text = "By JumboLumbo"
  106. Credits.TextColor3 = Color3.new(0, 0.333333, 1)
  107. Credits.TextScaled = true
  108. Credits.TextSize = 14
  109. Credits.TextWrapped = true
  110. Credits.TextXAlignment = Enum.TextXAlignment.Left
  111.  
  112. PointsGiver.Name = "PointsGiver"
  113. PointsGiver.Parent = Main
  114. PointsGiver.BackgroundColor3 = Color3.new(1, 1, 1)
  115. PointsGiver.BackgroundTransparency = 1
  116. PointsGiver.Position = UDim2.new(0, 0, 0, 30)
  117. PointsGiver.Size = UDim2.new(0, 135, 0, 90)
  118.  
  119. Amount.Name = "Amount"
  120. Amount.Parent = PointsGiver
  121. Amount.BackgroundColor3 = Color3.new(1, 1, 1)
  122. Amount.BorderColor3 = Color3.new(0, 0.333333, 1)
  123. Amount.Position = UDim2.new(0, 20, 0, 25)
  124. Amount.Size = UDim2.new(0, 95, 0, 25)
  125. Amount.Font = Enum.Font.SourceSans
  126. Amount.FontSize = Enum.FontSize.Size28
  127. Amount.Text = "0"
  128. Amount.TextColor3 = Color3.new(0, 0.333333, 1)
  129. Amount.TextSize = 25
  130. Amount.TextWrapped = true
  131.  
  132. Give.Name = "Give"
  133. Give.Parent = PointsGiver
  134. Give.BackgroundColor3 = Color3.new(1, 1, 1)
  135. Give.BorderColor3 = Color3.new(0, 0.333333, 1)
  136. Give.Position = UDim2.new(0, 30, 0, 55)
  137. Give.Size = UDim2.new(0, 70, 0, 20)
  138. Give.Font = Enum.Font.SourceSansBold
  139. Give.FontSize = Enum.FontSize.Size28
  140. Give.Text = "Give"
  141. Give.TextColor3 = Color3.new(0, 0.333333, 1)
  142. Give.TextScaled = true
  143. Give.TextSize = 25
  144. Give.TextWrapped = true
  145.  
  146. Label.Name = "Label"
  147. Label.Parent = PointsGiver
  148. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  149. Label.BackgroundTransparency = 1
  150. Label.Size = UDim2.new(0, 135, 0, 20)
  151. Label.Font = Enum.Font.SourceSansBold
  152. Label.FontSize = Enum.FontSize.Size24
  153. Label.Text = "Points Giver:"
  154. Label.TextColor3 = Color3.new(0, 0.333333, 1)
  155. Label.TextSize = 23
  156. Label.TextWrapped = true
  157.  
  158. Commands.Name = "Commands"
  159. Commands.Parent = Main
  160. Commands.BackgroundColor3 = Color3.new(1, 1, 1)
  161. Commands.BackgroundTransparency = 1
  162. Commands.Position = UDim2.new(0, 0, 0, 121)
  163. Commands.Size = UDim2.new(0, 135, 0, 100)
  164.  
  165. KillAll.Name = "KillAll"
  166. KillAll.Parent = Commands
  167. KillAll.BackgroundColor3 = Color3.new(1, 1, 1)
  168. KillAll.BorderColor3 = Color3.new(0, 0.333333, 1)
  169. KillAll.Position = UDim2.new(0, 35, 0, 75)
  170. KillAll.Size = UDim2.new(0, 65, 0, 20)
  171. KillAll.Font = Enum.Font.SourceSansBold
  172. KillAll.FontSize = Enum.FontSize.Size28
  173. KillAll.Text = "Kill All"
  174. KillAll.TextColor3 = Color3.new(0.666667, 0, 0)
  175. KillAll.TextScaled = true
  176. KillAll.TextSize = 25
  177. KillAll.TextWrapped = true
  178.  
  179. KillPlayer.Name = "KillPlayer"
  180. KillPlayer.Parent = Commands
  181. KillPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  182. KillPlayer.BorderColor3 = Color3.new(0, 0.333333, 1)
  183. KillPlayer.Position = UDim2.new(0, 25, 0, 50)
  184. KillPlayer.Size = UDim2.new(0, 85, 0, 20)
  185. KillPlayer.Font = Enum.Font.SourceSansBold
  186. KillPlayer.FontSize = Enum.FontSize.Size28
  187. KillPlayer.Text = "Kill Player"
  188. KillPlayer.TextColor3 = Color3.new(0, 0.333333, 1)
  189. KillPlayer.TextScaled = true
  190. KillPlayer.TextSize = 25
  191. KillPlayer.TextWrapped = true
  192.  
  193. Title_3.Name = "Title"
  194. Title_3.Parent = Commands
  195. Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
  196. Title_3.BackgroundTransparency = 1
  197. Title_3.Position = UDim2.new(0, 5, 0, -5)
  198. Title_3.Size = UDim2.new(0, 125, 0, 20)
  199. Title_3.Font = Enum.Font.SourceSansBold
  200. Title_3.FontSize = Enum.FontSize.Size24
  201. Title_3.Text = "Commands:"
  202. Title_3.TextColor3 = Color3.new(0, 0.333333, 1)
  203. Title_3.TextSize = 23
  204. Title_3.TextWrapped = true
  205.  
  206. PlayerName.Name = "PlayerName"
  207. PlayerName.Parent = Commands
  208. PlayerName.BackgroundColor3 = Color3.new(1, 1, 1)
  209. PlayerName.BorderColor3 = Color3.new(0, 0.333333, 1)
  210. PlayerName.Position = UDim2.new(0, 15, 0, 20)
  211. PlayerName.Size = UDim2.new(0, 105, 0, 25)
  212. PlayerName.Font = Enum.Font.SourceSans
  213. PlayerName.FontSize = Enum.FontSize.Size24
  214. PlayerName.Text = "Name"
  215. PlayerName.TextColor3 = Color3.new(0, 0.333333, 1)
  216. PlayerName.TextSize = 21
  217. PlayerName.TextWrapped = true
  218.  
  219. Teleport.Name = "Teleport"
  220. Teleport.Parent = Main
  221. Teleport.BackgroundColor3 = Color3.new(1, 1, 1)
  222. Teleport.BackgroundTransparency = 1
  223. Teleport.Position = UDim2.new(0, 240, 0, 30)
  224. Teleport.Size = UDim2.new(0, 135, 0, 211)
  225.  
  226. List.Name = "List"
  227. List.Parent = Teleport
  228. List.BackgroundColor3 = Color3.new(1, 1, 1)
  229. List.BorderColor3 = Color3.new(0, 0.333333, 1)
  230. List.Position = UDim2.new(0, 5, 0, 25)
  231. List.Size = UDim2.new(0, 125, 0, 180)
  232. List.ScrollBarThickness = 10
  233.  
  234. UIListLayout.Name = "UIListLayout"
  235. UIListLayout.Parent = List
  236. UIListLayout.Padding = UDim.new(0, 4)
  237.  
  238. RedBase.Name = "RedBase"
  239. RedBase.Parent = List
  240. RedBase.BackgroundColor3 = Color3.new(1, 1, 1)
  241. RedBase.BorderColor3 = Color3.new(0, 0.333333, 1)
  242. RedBase.Size = UDim2.new(0, 115, 0, 25)
  243. RedBase.Font = Enum.Font.SourceSansBold
  244. RedBase.FontSize = Enum.FontSize.Size24
  245. RedBase.Text = "Blue Base"
  246. RedBase.TextColor3 = Color3.new(0, 0.333333, 1)
  247. RedBase.TextSize = 20
  248. RedBase.TextWrapped = true
  249.  
  250. BlueBase.Name = "BlueBase"
  251. BlueBase.Parent = List
  252. BlueBase.BackgroundColor3 = Color3.new(1, 1, 1)
  253. BlueBase.BorderColor3 = Color3.new(0, 0.333333, 1)
  254. BlueBase.Size = UDim2.new(0, 115, 0, 25)
  255. BlueBase.Font = Enum.Font.SourceSansBold
  256. BlueBase.FontSize = Enum.FontSize.Size24
  257. BlueBase.Text = "Red Base"
  258. BlueBase.TextColor3 = Color3.new(0, 0.333333, 1)
  259. BlueBase.TextSize = 20
  260. BlueBase.TextWrapped = true
  261.  
  262. PointA.Name = "PointA"
  263. PointA.Parent = List
  264. PointA.BackgroundColor3 = Color3.new(1, 1, 1)
  265. PointA.BorderColor3 = Color3.new(0, 0.333333, 1)
  266. PointA.Size = UDim2.new(0, 115, 0, 25)
  267. PointA.Font = Enum.Font.SourceSansBold
  268. PointA.FontSize = Enum.FontSize.Size24
  269. PointA.Text = "Point A"
  270. PointA.TextColor3 = Color3.new(0, 0.333333, 1)
  271. PointA.TextSize = 20
  272. PointA.TextWrapped = true
  273.  
  274. PointB.Name = "PointB"
  275. PointB.Parent = List
  276. PointB.BackgroundColor3 = Color3.new(1, 1, 1)
  277. PointB.BorderColor3 = Color3.new(0, 0.333333, 1)
  278. PointB.Size = UDim2.new(0, 115, 0, 25)
  279. PointB.Font = Enum.Font.SourceSansBold
  280. PointB.FontSize = Enum.FontSize.Size24
  281. PointB.Text = "Point B"
  282. PointB.TextColor3 = Color3.new(0, 0.333333, 1)
  283. PointB.TextSize = 20
  284. PointB.TextWrapped = true
  285.  
  286. PointC.Name = "PointC"
  287. PointC.Parent = List
  288. PointC.BackgroundColor3 = Color3.new(1, 1, 1)
  289. PointC.BorderColor3 = Color3.new(0, 0.333333, 1)
  290. PointC.Size = UDim2.new(0, 115, 0, 25)
  291. PointC.Font = Enum.Font.SourceSansBold
  292. PointC.FontSize = Enum.FontSize.Size24
  293. PointC.Text = "Point C"
  294. PointC.TextColor3 = Color3.new(0, 0.333333, 1)
  295. PointC.TextSize = 20
  296. PointC.TextWrapped = true
  297.  
  298. Title_4.Name = "Title"
  299. Title_4.Parent = Teleport
  300. Title_4.BackgroundColor3 = Color3.new(1, 1, 1)
  301. Title_4.BackgroundTransparency = 1
  302. Title_4.Size = UDim2.new(0, 135, 0, 20)
  303. Title_4.Font = Enum.Font.SourceSansBold
  304. Title_4.FontSize = Enum.FontSize.Size24
  305. Title_4.Text = "Teleport:"
  306. Title_4.TextColor3 = Color3.new(0, 0.333333, 1)
  307. Title_4.TextSize = 23
  308. Title_4.TextWrapped = true
  309.  
  310. Extras.Name = "Extras"
  311. Extras.Parent = Main
  312. Extras.BackgroundColor3 = Color3.new(1, 1, 1)
  313. Extras.BackgroundTransparency = 1
  314. Extras.Position = UDim2.new(0, 125, 0, 30)
  315. Extras.Size = UDim2.new(0, 120, 0, 206)
  316.  
  317. Speed.Name = "Speed"
  318. Speed.Parent = Extras
  319. Speed.BackgroundColor3 = Color3.new(1, 1, 1)
  320. Speed.BorderColor3 = Color3.new(0, 0.333333, 1)
  321. Speed.Position = UDim2.new(0, 5, 0, 35)
  322. Speed.Size = UDim2.new(0, 105, 0, 25)
  323. Speed.Font = Enum.Font.SourceSansBold
  324. Speed.FontSize = Enum.FontSize.Size24
  325. Speed.Text = "Speed: OFF"
  326. Speed.TextColor3 = Color3.new(0, 0.333333, 1)
  327. Speed.TextSize = 20
  328. Speed.TextWrapped = true
  329.  
  330. Title_5.Name = "Title"
  331. Title_5.Parent = Extras
  332. Title_5.BackgroundColor3 = Color3.new(1, 1, 1)
  333. Title_5.BackgroundTransparency = 1
  334. Title_5.Position = UDim2.new(0, 0, 0, 10)
  335. Title_5.Size = UDim2.new(0, 120, 0, 20)
  336. Title_5.Font = Enum.Font.SourceSansBold
  337. Title_5.FontSize = Enum.FontSize.Size24
  338. Title_5.Text = "Extras:"
  339. Title_5.TextColor3 = Color3.new(0, 0.333333, 1)
  340. Title_5.TextSize = 23
  341. Title_5.TextWrapped = true
  342.  
  343. Jump.Name = "Jump"
  344. Jump.Parent = Extras
  345. Jump.BackgroundColor3 = Color3.new(1, 1, 1)
  346. Jump.BorderColor3 = Color3.new(0, 0.333333, 1)
  347. Jump.Position = UDim2.new(0, 5, 0, 65)
  348. Jump.Size = UDim2.new(0, 105, 0, 25)
  349. Jump.Font = Enum.Font.SourceSansBold
  350. Jump.FontSize = Enum.FontSize.Size24
  351. Jump.Text = "Jump: OFF"
  352. Jump.TextColor3 = Color3.new(0, 0.333333, 1)
  353. Jump.TextSize = 20
  354. Jump.TextWrapped = true
  355.  
  356. ESP.Name = "ESP"
  357. ESP.Parent = Extras
  358. ESP.BackgroundColor3 = Color3.new(1, 1, 1)
  359. ESP.BorderColor3 = Color3.new(0, 0.333333, 1)
  360. ESP.Position = UDim2.new(0, 5, 0, 95)
  361. ESP.Size = UDim2.new(0, 105, 0, 25)
  362. ESP.Font = Enum.Font.SourceSansBold
  363. ESP.FontSize = Enum.FontSize.Size24
  364. ESP.Text = "ESP: OFF"
  365. ESP.TextColor3 = Color3.new(0, 0.333333, 1)
  366. ESP.TextSize = 20
  367. ESP.TextWrapped = true
  368.  
  369. Label_2.Name = "Label"
  370. Label_2.Parent = Extras
  371. Label_2.BackgroundColor3 = Color3.new(1, 1, 1)
  372. Label_2.BackgroundTransparency = 1
  373. Label_2.Position = UDim2.new(0, 5, 0, 146)
  374. Label_2.Rotation = -20
  375. Label_2.Size = UDim2.new(0, 105, 0, 30)
  376. Label_2.Font = Enum.Font.SourceSansBold
  377. Label_2.FontSize = Enum.FontSize.Size14
  378. Label_2.Text = "More Coming!"
  379. Label_2.TextColor3 = Color3.new(0, 0.333333, 1)
  380. Label_2.TextScaled = true
  381. Label_2.TextSize = 14
  382. Label_2.TextWrapped = true
  383.  
  384. --// Functions
  385.  
  386. function SendMessage(Message)
  387. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
  388. Text = "[System]: "..Message;
  389. Color = Color3.new(255/255, 255/255, 255/255);
  390. Font = Enum.Font.SourceSansBold;
  391. FontSize = Enum.FontSize.Size32;
  392. })
  393. end
  394.  
  395. SendMessage("Welcome to Attrition Hub, "..Player.Name.."!")
  396.  
  397. function GivePoints(Points)
  398. local Amount = Points
  399. if Player.Team == Team1 then
  400. local Target = Team2:GetPlayers()[math.random(1, #Team2:GetPlayers())]
  401. DamageDealt:FireServer(Target.Character, Amount, Target.Character.HumanoidRootPart)
  402. elseif Player.Team == Team2 then
  403. local Target = Team1:GetPlayers()[math.random(1, #Team1:GetPlayers())]
  404. DamageDealt:FireServer(Target.Character, Amount, Target.Character.HumanoidRootPart)
  405. end
  406. wait(.1)
  407. SendMessage("Succesfully given yourself "..Points.." points.")
  408. end
  409.  
  410. function KillEveryone()
  411. for i,v in pairs(Players:GetChildren()) do
  412. if v.TeamColor ~= Player.TeamColor then
  413. if v.Character:FindFirstChild("HumanoidRootPart") then
  414. wait(.5)
  415. DamageDealt:FireServer(v.Character, 100, v.Character.HumanoidRootPart)
  416. SendMessage("Succesfully killed "..v.Name..".")
  417. end
  418. end
  419. end
  420. end
  421.  
  422. function KillTarget(Target)
  423. for i,v in pairs(Players:GetChildren()) do
  424. if v.Name:sub(1,Target:len()):lower() == Target or v.Name == Target or v.Name:sub(1,Target:len()) == Target then
  425. if v.Character:FindFirstChild("HumanoidRootPart") then
  426. wait(.5)
  427. DamageDealt:FireServer(v.Character, 100, v.Character.HumanoidRootPart)
  428. SendMessage("Succesfully killed "..v.Name..".")
  429. end
  430. end
  431. end
  432. end
  433.  
  434. function FastWalk(Mode)
  435. if Mode == "On" then
  436. wait(.1)
  437. SendMessage("You turned on Speed.")
  438. Player.Character.Humanoid.WalkSpeed = 100
  439. elseif Mode == "Off" then
  440. wait(.1)
  441. SendMessage("You turned off Speed.")
  442. Player.Character.Humanoid.WalkSpeed = 16
  443. end
  444. end
  445.  
  446. function HighJump(Mode)
  447. if Mode == "On" then
  448. wait(.1)
  449. SendMessage("You turned on Jump.")
  450. Player.Character.Humanoid.JumpPower = 125
  451. elseif Mode == "Off" then
  452. wait(.1)
  453. SendMessage("You turned off Jump.")
  454. Player.Character.Humanoid.JumpPower = 50
  455. end
  456. end
  457.  
  458. local Places = {
  459. ["RedBase"] = CFrame.new(770, 60, -2454),
  460. ["BlueBase"] = CFrame.new(-766, 60, 2458),
  461. ["PointA"] = CFrame.new(-1228.8, 78.5, -1536.001),
  462. ["PointB"] = CFrame.new(-78, 184.5, 30),
  463. ["PointC"] = CFrame.new(1229.022, 178.5, 1535.624)
  464. }
  465.  
  466. function Teleport(Place)
  467. local Character = Player.Character
  468. local HumanoidRootPart = Character.HumanoidRootPart
  469.  
  470. if Place == "RedBase" then
  471. SendMessage("Teleported to Red Base.")
  472. HumanoidRootPart.CFrame = Places["RedBase"]
  473. elseif Place == "BlueBase" then
  474. SendMessage("Teleported to Blue Base.")
  475. HumanoidRootPart.CFrame = Places["BlueBase"]
  476. elseif Place == "PointA" then
  477. SendMessage("Teleported to Point A.")
  478. HumanoidRootPart.CFrame = Places["PointA"]
  479. elseif Place == "PointB" then
  480. SendMessage("Teleported to Point B.")
  481. HumanoidRootPart.CFrame = Places["PointB"]
  482. elseif Place == "PointC" then
  483. SendMessage("Teleported to Point C.")
  484. HumanoidRootPart.CFrame = Places["PointC"]
  485. end
  486. end
  487.  
  488. function Highlight(Target)
  489. local Character = Target.Character
  490. local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
  491.  
  492. if HumanoidRootPart then
  493. local BillboardGui = Instance.new("BillboardGui", HumanoidRootPart)
  494. BillboardGui.LightInfluence = 0
  495. BillboardGui.AlwaysOnTop = true
  496. BillboardGui.MaxDistance = math.huge
  497. BillboardGui.Adornee = HumanoidRootPart
  498. BillboardGui.Size = UDim2.new(1, 0, 1, 0)
  499.  
  500. local TextLabel = Instance.new("TextLabel", BillboardGui)
  501. TextLabel.Text = Target.Name
  502. TextLabel.BorderSizePixel = 0
  503. TextLabel.BackgroundTransparency = 1
  504. TextLabel.Size = UDim2.new(1, 0, 0, 1)
  505.  
  506. if Target.Team == Team1 then
  507. TextLabel.TextColor3 = Color3.new(0/255, 85/255, 255/255)
  508. elseif Target.Team == Team2 then
  509. TextLabel.TextColor3 = Color3.new(170/255, 0/255, 0/255)
  510. end
  511. end
  512. end
  513.  
  514. function unHighlight(Target)
  515. local Character = Target.Character
  516. local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
  517.  
  518. if HumanoidRootPart then
  519. for i,v in pairs(HumanoidRootPart:GetChildren()) do
  520. if v:IsA("BillboardGui") then
  521. v:Destroy()
  522. end
  523. end
  524. end
  525. end
  526.  
  527.  
  528. --// Buttons
  529.  
  530. Give.MouseButton1Click:connect(function()
  531. local Points = tonumber(Amount.Text)
  532. GivePoints(Points)
  533. wait(.1)
  534. Amount.Text = "0"
  535. end)
  536.  
  537. KillAll.MouseButton1Click:connect(function()
  538. KillEveryone()
  539. end)
  540.  
  541. KillPlayer.MouseButton1Click:connect(function()
  542. local Target = PlayerName.Text
  543. KillTarget(Target)
  544. wait(.1)
  545. PlayerName.Text = "Name"
  546. end)
  547.  
  548. Speed.MouseButton1Click:connect(function()
  549. if Speed.Text == "Speed: OFF" then
  550. Speed.Text = "Speed: ON"
  551. FastWalk("On")
  552. elseif Speed.Text == "Speed: ON" then
  553. Speed.Text = "Speed: OFF"
  554. FastWalk("Off")
  555. end
  556. end)
  557.  
  558. Jump.MouseButton1Click:connect(function()
  559. if Jump.Text == "Jump: OFF" then
  560. Jump.Text = "Jump: ON"
  561. HighJump("On")
  562. elseif Jump.Text == "Jump: ON" then
  563. Jump.Text = "Jump: OFF"
  564. HighJump("Off")
  565. end
  566. end)
  567.  
  568. for i,v in pairs(List:GetChildren()) do
  569. if v:IsA("TextButton") then
  570. v.MouseButton1Click:connect(function()
  571. Teleport(v.Name)
  572. end)
  573. end
  574. end
  575.  
  576. ESP.MouseButton1Click:connect(function()
  577. if ESP.Text == "ESP: OFF" then
  578. ESP.Text = "ESP: ON"
  579. SendMessage("You turned on ESP.")
  580. wait(.1)
  581. for i,v in pairs(Players:GetPlayers()) do
  582. if v.Character then
  583. Highlight(v)
  584. end
  585. end
  586. elseif ESP.Text == "ESP: ON" then
  587. ESP.Text = "ESP: OFF"
  588. SendMessage("You turned off ESP.")
  589. wait(.1)
  590. for i,v in pairs(Players:GetPlayers()) do
  591. if v.Character then
  592. unHighlight(v)
  593. end
  594. end
  595. end
  596. end)
  597.  
  598. Players.PlayerAdded:connect(function(Target)
  599. Target.CharacterAdded:connect(function(Character)
  600. if Character then
  601. if ESP.Text == "ESP: ON" then
  602. Highlight(Target)
  603. end
  604. end
  605. end)
  606. end)
  607.  
  608. --[[
  609. -[ Attrition Hub made by JumboLumbo@V3rm ]-
  610. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement