Advertisement
TigerManGamingYT

AttritionUI

Dec 8th, 2018
1,248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.32 KB | None | 0 0
  1. -- AttritionUI
  2. -- Designed and Scripted by TigerManGamingYT
  3. -- Version: 1.1A
  4.  
  5. -- Instances:
  6. local AttritionUI = Instance.new("ScreenGui")
  7. local MainFrame = Instance.new("Frame")
  8. local PointAButton = Instance.new("TextButton")
  9. local Design1 = Instance.new("Frame")
  10. local Title = Instance.new("TextLabel")
  11. local PointBButton = Instance.new("TextButton")
  12. local PointCButton = Instance.new("TextButton")
  13. local BlueBaseButton = Instance.new("TextButton")
  14. local RedBaseButton = Instance.new("TextButton")
  15. local ExitGUIButton = Instance.new("TextButton")
  16. local ClickTPButton = Instance.new("TextButton")
  17. local BlueBaseOutsideButton = Instance.new("TextButton")
  18. local RedBaseOutsideButton = Instance.new("TextButton")
  19. --Properties:
  20. AttritionUI.Name = "AttritionUI"
  21. AttritionUI.Parent = game.CoreGui
  22.  
  23. MainFrame.Name = "MainFrame"
  24. MainFrame.Parent = AttritionUI
  25. MainFrame.BackgroundColor3 = Color3.new(0.486275, 0.486275, 0.486275)
  26. MainFrame.BorderColor3 = Color3.new(0, 0, 0)
  27. MainFrame.Position = UDim2.new(0.522941589, 0, 0.287469268, 0)
  28. MainFrame.Size = UDim2.new(0, 150, 0, 307)
  29.  
  30. PointAButton.Name = "PointAButton"
  31. PointAButton.Parent = MainFrame
  32. PointAButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  33. PointAButton.BorderColor3 = Color3.new(0, 0, 0)
  34. PointAButton.Position = UDim2.new(0, 0, 0.117263846, 0)
  35. PointAButton.Size = UDim2.new(0, 150, 0, 26)
  36. PointAButton.Font = Enum.Font.SourceSansLight
  37. PointAButton.Text = "Point A"
  38. PointAButton.TextColor3 = Color3.new(1, 1, 1)
  39. PointAButton.TextSize = 18
  40.  
  41. Design1.Name = "Design1"
  42. Design1.Parent = MainFrame
  43. Design1.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  44. Design1.BorderColor3 = Color3.new(0, 0, 0)
  45. Design1.Size = UDim2.new(0, 150, 0, 23)
  46.  
  47. Title.Name = "Title"
  48. Title.Parent = Design1
  49. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  50. Title.BackgroundTransparency = 1
  51. Title.Position = UDim2.new(0.273333341, 0, 0, 0)
  52. Title.Size = UDim2.new(0, 68, 0, 23)
  53. Title.Font = Enum.Font.SourceSansLight
  54. Title.Text = "AttritionUI"
  55. Title.TextColor3 = Color3.new(1, 1, 1)
  56. Title.TextSize = 14
  57.  
  58. PointBButton.Name = "PointBButton"
  59. PointBButton.Parent = MainFrame
  60. PointBButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  61. PointBButton.BorderColor3 = Color3.new(0, 0, 0)
  62. PointBButton.Position = UDim2.new(0, 0, 0.216000006, 0)
  63. PointBButton.Size = UDim2.new(0, 150, 0, 26)
  64. PointBButton.Font = Enum.Font.SourceSansLight
  65. PointBButton.Text = "Point B"
  66. PointBButton.TextColor3 = Color3.new(1, 1, 1)
  67. PointBButton.TextSize = 18
  68.  
  69. PointCButton.Name = "PointCButton"
  70. PointCButton.Parent = MainFrame
  71. PointCButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  72. PointCButton.BorderColor3 = Color3.new(0, 0, 0)
  73. PointCButton.Position = UDim2.new(0, 0, 0.31400001, 0)
  74. PointCButton.Size = UDim2.new(0, 150, 0, 26)
  75. PointCButton.Font = Enum.Font.SourceSansLight
  76. PointCButton.Text = "Point C"
  77. PointCButton.TextColor3 = Color3.new(1, 1, 1)
  78. PointCButton.TextSize = 18
  79.  
  80. BlueBaseButton.Name = "BlueBaseButton"
  81. BlueBaseButton.Parent = MainFrame
  82. BlueBaseButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  83. BlueBaseButton.BorderColor3 = Color3.new(0, 0, 0)
  84. BlueBaseButton.Position = UDim2.new(0, 0, 0.409999996, 0)
  85. BlueBaseButton.Size = UDim2.new(0, 150, 0, 26)
  86. BlueBaseButton.Font = Enum.Font.SourceSansLight
  87. BlueBaseButton.Text = "Blue Base"
  88. BlueBaseButton.TextColor3 = Color3.new(1, 1, 1)
  89. BlueBaseButton.TextSize = 18
  90.  
  91. RedBaseButton.Name = "RedBaseButton"
  92. RedBaseButton.Parent = MainFrame
  93. RedBaseButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  94. RedBaseButton.BorderColor3 = Color3.new(0, 0, 0)
  95. RedBaseButton.Position = UDim2.new(0, 0, 0.507000029, 0)
  96. RedBaseButton.Size = UDim2.new(0, 150, 0, 26)
  97. RedBaseButton.Font = Enum.Font.SourceSansLight
  98. RedBaseButton.Text = "Red Base"
  99. RedBaseButton.TextColor3 = Color3.new(1, 1, 1)
  100. RedBaseButton.TextSize = 18
  101.  
  102. ExitGUIButton.Name = "ExitGUIButton"
  103. ExitGUIButton.Parent = MainFrame
  104. ExitGUIButton.BackgroundColor3 = Color3.new(0.784314, 0, 0)
  105. ExitGUIButton.BorderColor3 = Color3.new(0, 0, 0)
  106. ExitGUIButton.Position = UDim2.new(0, 0, 0.928338766, 0)
  107. ExitGUIButton.Size = UDim2.new(0, 150, 0, 22)
  108. ExitGUIButton.Font = Enum.Font.SourceSansLight
  109. ExitGUIButton.Text = "Exit"
  110. ExitGUIButton.TextColor3 = Color3.new(1, 1, 1)
  111. ExitGUIButton.TextSize = 14
  112.  
  113. ClickTPButton.Name = "ClickTPButton"
  114. ClickTPButton.Parent = MainFrame
  115. ClickTPButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  116. ClickTPButton.BorderColor3 = Color3.new(0, 0, 0)
  117. ClickTPButton.Position = UDim2.new(0, 0, 0.800000012, 0)
  118. ClickTPButton.Size = UDim2.new(0, 150, 0, 26)
  119. ClickTPButton.Font = Enum.Font.SourceSansLight
  120. ClickTPButton.Text = "ClickTP [E]"
  121. ClickTPButton.TextColor3 = Color3.new(1, 1, 1)
  122. ClickTPButton.TextSize = 18
  123.  
  124. BlueBaseOutsideButton.Name = "BlueBaseOutsideButton"
  125. BlueBaseOutsideButton.Parent = MainFrame
  126. BlueBaseOutsideButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  127. BlueBaseOutsideButton.BorderColor3 = Color3.new(0, 0, 0)
  128. BlueBaseOutsideButton.Position = UDim2.new(0, 0, 0.605000019, 0)
  129. BlueBaseOutsideButton.Size = UDim2.new(0, 150, 0, 26)
  130. BlueBaseOutsideButton.Font = Enum.Font.SourceSansLight
  131. BlueBaseOutsideButton.Text = "Blue Base [outside]"
  132. BlueBaseOutsideButton.TextColor3 = Color3.new(1, 1, 1)
  133. BlueBaseOutsideButton.TextSize = 18
  134.  
  135. RedBaseOutsideButton.Name = "RedBaseOutsideButton"
  136. RedBaseOutsideButton.Parent = MainFrame
  137. RedBaseOutsideButton.BackgroundColor3 = Color3.new(0.603922, 0.603922, 0.603922)
  138. RedBaseOutsideButton.BorderColor3 = Color3.new(0, 0, 0)
  139. RedBaseOutsideButton.Position = UDim2.new(0, 0, 0.703999996, 0)
  140. RedBaseOutsideButton.Size = UDim2.new(0, 150, 0, 26)
  141. RedBaseOutsideButton.Font = Enum.Font.SourceSansLight
  142. RedBaseOutsideButton.Text = "Red Base [outside]"
  143. RedBaseOutsideButton.TextColor3 = Color3.new(1, 1, 1)
  144. RedBaseOutsideButton.TextSize = 18
  145. -- Scripts:
  146.  
  147. MainFrame.Active = true
  148. MainFrame.Draggable = true
  149.  
  150. PointAButton.MouseButton1Down:connect(function()
  151.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-63, 380, 63)
  152. end)
  153.  
  154. PointBButton.MouseButton1Down:connect(function()
  155.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1227, 120, 1535)
  156. end)
  157.  
  158. PointCButton.MouseButton1Down:connect(function()
  159.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1229, 120, -1535)
  160. end)
  161.  
  162. BlueBaseButton.MouseButton1Down:connect(function()
  163.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(770, 50, -2453)
  164. end)
  165. RedBaseButton.MouseButton1Down:connect(function()
  166.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-766, 50, 2457)
  167. end)
  168.  
  169. RedBaseOutsideButton.MouseButton1Down:connect(function()
  170.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-566, 50, 1305)
  171. end)
  172.  
  173. BlueBaseOutsideButton.MouseButton1Down:connect(function()
  174.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(682, 50, -1326)
  175. end)
  176.  
  177. ClickTPButton.MouseButton1Down:connect(function()
  178.     plr = game.Players.LocalPlayer
  179.     hum = plr.Character.HumanoidRootPart
  180.     mouse = plr:GetMouse()
  181.  
  182.     mouse.KeyDown:connect(function(key)
  183.     if key == "e" then
  184.     if mouse.Target then
  185.     hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  186.     end
  187.     end
  188.     end)
  189. end)
  190.  
  191. ExitGUIButton.MouseButton1Down:connect(function()
  192.     AttritionUI:Destroy()
  193. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement