Advertisement
TigerManGamingYT

Mad Paintball 2 GUI

Apr 8th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.10 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local MP2ui = Instance.new("ScreenGui")
  5. local MainFrame = Instance.new("Frame")
  6. local TitleLabel = Instance.new("TextLabel")
  7. local GodLabel = Instance.new("TextLabel")
  8. local SpeedULabel = Instance.new("TextLabel")
  9. local SpeedDLabel = Instance.new("TextLabel")
  10. local SlotsLabel = Instance.new("TextLabel")
  11. local RubiesLabel = Instance.new("TextLabel")
  12. local ClickTPLabel = Instance.new("TextLabel")
  13. local TpEnemiesLabel = Instance.new("TextLabel")
  14. local HideLabel = Instance.new("TextLabel")
  15. local DestroyButton = Instance.new("TextButton")
  16. local LoadFrame = Instance.new("Frame")
  17. local MadeByLabel = Instance.new("TextLabel")
  18. local TiX = Instance.new("ImageLabel")
  19. local TixSLabel = Instance.new("TextLabel")
  20. local LoadingSpinner = Instance.new("ImageLabel")
  21. --Properties:
  22. MP2ui.Name = "MP2ui"
  23. MP2ui.Parent = game.CoreGui
  24.  
  25. MainFrame.Name = "MainFrame"
  26. MainFrame.Parent = MP2ui
  27. MainFrame.BackgroundColor3 = Color3.new(0.286275, 0.286275, 0.286275)
  28. MainFrame.BorderColor3 = Color3.new(0, 0, 0)
  29. MainFrame.BorderSizePixel = 2
  30. MainFrame.Position = UDim2.new(-0.2, 0, 0.351609051, 0)
  31. MainFrame.Size = UDim2.new(0, 164, 0, 319)
  32. MainFrame.Visible = false
  33.  
  34. TitleLabel.Name = "TitleLabel"
  35. TitleLabel.Parent = MainFrame
  36. TitleLabel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  37. TitleLabel.BorderColor3 = Color3.new(0, 0, 0)
  38. TitleLabel.BorderSizePixel = 0
  39. TitleLabel.Size = UDim2.new(0, 164, 0, 23)
  40. TitleLabel.Font = Enum.Font.SourceSans
  41. TitleLabel.Text = "   Mad Paintball 2 GUI"
  42. TitleLabel.TextColor3 = Color3.new(1, 1, 1)
  43. TitleLabel.TextSize = 18
  44. TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
  45.  
  46. GodLabel.Name = "GodLabel"
  47. GodLabel.Parent = MainFrame
  48. GodLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  49. GodLabel.BorderSizePixel = 0
  50. GodLabel.Position = UDim2.new(0, 0, 0.128526643, 0)
  51. GodLabel.Size = UDim2.new(0, 164, 0, 27)
  52. GodLabel.Font = Enum.Font.SourceSans
  53. GodLabel.Text = "Godmode - Z"
  54. GodLabel.TextColor3 = Color3.new(1, 1, 1)
  55. GodLabel.TextSize = 14
  56.  
  57. SpeedULabel.Name = "SpeedULabel"
  58. SpeedULabel.Parent = MainFrame
  59. SpeedULabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  60. SpeedULabel.BorderSizePixel = 0
  61. SpeedULabel.Position = UDim2.new(0, 0, 0.238244504, 0)
  62. SpeedULabel.Size = UDim2.new(0, 164, 0, 27)
  63. SpeedULabel.Font = Enum.Font.SourceSans
  64. SpeedULabel.Text = "Walkspeed Up - X"
  65. SpeedULabel.TextColor3 = Color3.new(1, 1, 1)
  66. SpeedULabel.TextSize = 14
  67.  
  68. SpeedDLabel.Name = "SpeedDLabel"
  69. SpeedDLabel.Parent = MainFrame
  70. SpeedDLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  71. SpeedDLabel.BorderSizePixel = 0
  72. SpeedDLabel.Position = UDim2.new(0, 0, 0.347962379, 0)
  73. SpeedDLabel.Size = UDim2.new(0, 164, 0, 27)
  74. SpeedDLabel.Font = Enum.Font.SourceSans
  75. SpeedDLabel.Text = "Walkspeed Down - C"
  76. SpeedDLabel.TextColor3 = Color3.new(1, 1, 1)
  77. SpeedDLabel.TextSize = 14
  78.  
  79. SlotsLabel.Name = "SlotsLabel"
  80. SlotsLabel.Parent = MainFrame
  81. SlotsLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  82. SlotsLabel.BorderSizePixel = 0
  83. SlotsLabel.Position = UDim2.new(0, 0, 0.457680255, 0)
  84. SlotsLabel.Size = UDim2.new(0, 164, 0, 27)
  85. SlotsLabel.Font = Enum.Font.SourceSans
  86. SlotsLabel.Text = "Unlock Slots - V"
  87. SlotsLabel.TextColor3 = Color3.new(1, 1, 1)
  88. SlotsLabel.TextSize = 14
  89.  
  90. RubiesLabel.Name = "RubiesLabel"
  91. RubiesLabel.Parent = MainFrame
  92. RubiesLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  93. RubiesLabel.BorderSizePixel = 0
  94. RubiesLabel.Position = UDim2.new(0, 0, 0.573667705, 0)
  95. RubiesLabel.Size = UDim2.new(0, 164, 0, 27)
  96. RubiesLabel.Font = Enum.Font.SourceSans
  97. RubiesLabel.Text = "Give Rubies - B"
  98. RubiesLabel.TextColor3 = Color3.new(1, 1, 1)
  99. RubiesLabel.TextSize = 14
  100.  
  101. ClickTPLabel.Name = "ClickTPLabel"
  102. ClickTPLabel.Parent = MainFrame
  103. ClickTPLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  104. ClickTPLabel.BorderSizePixel = 0
  105. ClickTPLabel.Position = UDim2.new(0, 0, 0.689655185, 0)
  106. ClickTPLabel.Size = UDim2.new(0, 164, 0, 27)
  107. ClickTPLabel.Font = Enum.Font.SourceSans
  108. ClickTPLabel.Text = "ClickTP Toggle - N"
  109. ClickTPLabel.TextColor3 = Color3.new(1, 1, 1)
  110. ClickTPLabel.TextSize = 14
  111.  
  112. TpEnemiesLabel.Name = "TpEnemiesLabel"
  113. TpEnemiesLabel.Parent = MainFrame
  114. TpEnemiesLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  115. TpEnemiesLabel.BorderSizePixel = 0
  116. TpEnemiesLabel.Position = UDim2.new(0, 0, 0.808777452, 0)
  117. TpEnemiesLabel.Size = UDim2.new(0, 164, 0, 27)
  118. TpEnemiesLabel.Font = Enum.Font.SourceSans
  119. TpEnemiesLabel.Text = "Tp Enemies to you - M"
  120. TpEnemiesLabel.TextColor3 = Color3.new(1, 1, 1)
  121. TpEnemiesLabel.TextSize = 14
  122.  
  123. HideLabel.Name = "HideLabel"
  124. HideLabel.Parent = MainFrame
  125. HideLabel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  126. HideLabel.BorderColor3 = Color3.new(0, 0, 0)
  127. HideLabel.BorderSizePixel = 0
  128. HideLabel.Position = UDim2.new(0, 0, 0.962382436, 0)
  129. HideLabel.Size = UDim2.new(0, 164, 0, 12)
  130. HideLabel.Font = Enum.Font.SourceSans
  131. HideLabel.Text = "Press ; to hide menu"
  132. HideLabel.TextColor3 = Color3.new(1, 1, 1)
  133. HideLabel.TextSize = 14
  134.  
  135. DestroyButton.Name = "DestroyButton"
  136. DestroyButton.Parent = MainFrame
  137. DestroyButton.BackgroundColor3 = Color3.new(0, 0, 0)
  138. DestroyButton.BackgroundTransparency = 0.5
  139. DestroyButton.BorderColor3 = Color3.new(0, 0, 0)
  140. DestroyButton.BorderSizePixel = 0
  141. DestroyButton.Position = UDim2.new(0.841463387, 0, 0, 0)
  142. DestroyButton.Size = UDim2.new(0, 26, 0, 23)
  143. DestroyButton.Font = Enum.Font.SourceSans
  144. DestroyButton.Text = "X"
  145. DestroyButton.TextColor3 = Color3.new(0.392157, 0, 0)
  146. DestroyButton.TextSize = 14
  147.  
  148. LoadFrame.Name = "LoadFrame"
  149. LoadFrame.Parent = MP2ui
  150. LoadFrame.BackgroundColor3 = Color3.new(0.286275, 0.286275, 0.286275)
  151. LoadFrame.BorderColor3 = Color3.new(0, 0, 0)
  152. LoadFrame.BorderSizePixel = 2
  153. LoadFrame.Position = UDim2.new(0.344270825, 0, -0.8, 0)
  154. LoadFrame.Size = UDim2.new(0, 598, 0, 407)
  155.  
  156. MadeByLabel.Name = "MadeByLabel"
  157. MadeByLabel.Parent = LoadFrame
  158. MadeByLabel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  159. MadeByLabel.BorderColor3 = Color3.new(0, 0, 0)
  160. MadeByLabel.BorderSizePixel = 0
  161. MadeByLabel.Position = UDim2.new(0, 0, -1.49011612e-08, 0)
  162. MadeByLabel.Size = UDim2.new(0, 598, 0, 34)
  163. MadeByLabel.Font = Enum.Font.SourceSans
  164. MadeByLabel.Text = "Mad Paintball 2 GUI"
  165. MadeByLabel.TextColor3 = Color3.new(1, 1, 1)
  166. MadeByLabel.TextSize = 18
  167.  
  168. TiX.Name = "TiX"
  169. TiX.Parent = LoadFrame
  170. TiX.BackgroundColor3 = Color3.new(1, 1, 1)
  171. TiX.BackgroundTransparency = 1
  172. TiX.BorderSizePixel = 0
  173. TiX.Position = UDim2.new(0.0752508417, 0, -0.189189225, 0)
  174. TiX.Size = UDim2.new(0, 507, 0, 463)
  175. TiX.Image = "rbxassetid://2756349847"
  176.  
  177. TixSLabel.Name = "TixSLabel"
  178. TixSLabel.Parent = LoadFrame
  179. TixSLabel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  180. TixSLabel.BackgroundTransparency = 1
  181. TixSLabel.BorderColor3 = Color3.new(0, 0, 0)
  182. TixSLabel.BorderSizePixel = 0
  183. TixSLabel.Position = UDim2.new(0.292642146, 0, 0.0810811371, 0)
  184. TixSLabel.Size = UDim2.new(0, 247, 0, 34)
  185. TixSLabel.Font = Enum.Font.SourceSansItalic
  186. TixSLabel.Text = "A Tiger X Module"
  187. TixSLabel.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451)
  188. TixSLabel.TextSize = 18
  189.  
  190. LoadingSpinner.Name = "LoadingSpinner"
  191. LoadingSpinner.Parent = LoadFrame
  192. LoadingSpinner.BackgroundColor3 = Color3.new(1, 1, 1)
  193. LoadingSpinner.BackgroundTransparency = 1
  194. LoadingSpinner.Position = UDim2.new(0.369565219, 0, 0.528255582, 0)
  195. LoadingSpinner.Size = UDim2.new(0, 155, 0, 155)
  196. LoadingSpinner.Image = "rbxassetid://2869102474"
  197. -- Scripts:
  198.  
  199. -- Draggablility, Activness and Visibility
  200.  
  201. MainFrame.Active = true
  202. LoadFrame.Active = true
  203.  
  204. MainFrame.Visible = false
  205. LoadFrame.Visible = false
  206.  
  207. MainFrame.Draggable = true
  208. LoadFrame.Draggable = true
  209.  
  210. LoadingSpinner.ImageTransparency = 0
  211.  
  212. -- Tweening and buttons
  213.  
  214.  
  215. LoadFrame.Visible = true
  216. LoadFrame:TweenPosition(UDim2.new(0.344270825, 0, 0.257449359, 0), 'In', 'Quint', 1)
  217.  
  218. for twat = 1,200 do
  219.     LoadingSpinner.Rotation = LoadingSpinner.Rotation + 4
  220.     wait(0.0001)
  221. end
  222.  
  223. LoadFrame:TweenPosition(UDim2.new(0.344270825, 0, -0.8, 0), 'Out', 'Quint', 1)
  224. MainFrame.Visible = true
  225. MainFrame:TweenPosition(UDim2.new(0, 0, 0.351609051, 0), 'In', 'Quint', 0.5)
  226.  
  227. -- The rest
  228.  
  229. DestroyButton.MouseButton1Down:connect(function()
  230.     MainFrame:TweenPosition(UDim2.new(-0.2, 0, 0.351609051, 0), 'Out', 'Quint', 0.5)
  231.     wait(0.5)
  232.     MP2ui:Destroy()
  233. end)
  234.  
  235.  
  236. local plr = game:service'Players'.LocalPlayer
  237. local plrgui = plr.PlayerGui
  238. local plrs = game:service'Players'
  239. local char = plr.Character
  240. local mouse = plr:GetMouse()
  241. local redteam = plrgui.GameUI.MainFrame.Leaderboard.Holder.Team2.PlayerList
  242. local blueteam  = plrgui.GameUI.MainFrame.Leaderboard.Holder.Team1.PlayerList
  243. local enemyteam
  244. local enemies = {}
  245. local clicktp = false
  246.  
  247. function allslot()
  248.     game.ReplicatedStorage.GameMain.Select:FireServer("BuySlot", {"2Slots1Day", 0})
  249.     game.ReplicatedStorage.GameMain.Select:FireServer("BuySlot", {"3Slots1Day", 0})
  250.     game.ReplicatedStorage.GameMain.Select:FireServer("BuySlot", {"4Slots1Day", 0})
  251. end
  252.  
  253. function rubies()
  254.     game.ReplicatedStorage.GameMain.Select:FireServer("BuySlot", {"2Slots1Day", -2e99})
  255. end
  256.  
  257. function gm()
  258.     if plr.Character.Humanoid then
  259.         plr.Character.Humanoid.Name = plr.Name
  260.         local clone = plr.Character[plr.Name]:Clone()
  261.         clone.Parent = plr.Character
  262.         clone.Name = "Humanoid"
  263.         wait(0.5)
  264.         plr.Character[plr.Name]:Destroy()
  265.         workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  266.     end
  267. end
  268.  
  269. function tpenemies()
  270.     for _, a in pairs(enemyteam:children()) do
  271.         local targ = plrs:FindFirstChild(a.StatName.Text)
  272.         if targ.Character:FindFirstChild'Head' then
  273.             targ.Character.Head.Anchored = true
  274.             targ.Character.Head.CFrame = plr.Character.Head.CFrame
  275.         end
  276.     end
  277. end
  278.  
  279.  
  280. -- ---------------------------------------------------------
  281.  
  282. mouse.KeyDown:connect(function(key)
  283.     if key == "z" then
  284.         gm()
  285.     elseif key == ";" then
  286.         if MainFrame.Visible then
  287.             MainFrame.Visible = false
  288.         else
  289.             MainFrame.Visible = true
  290.         end
  291.     elseif key == "m" then
  292.         tpenemies()
  293.     elseif key == "v" then
  294.         allslot()
  295.     elseif key == "b" then
  296.         rubies()
  297.     elseif key == "n" then
  298.         if not clicktp then
  299.             clicktp = true
  300.         else
  301.             clicktp = false
  302.         end
  303.     elseif key == "x" then
  304.         plr.Character:FindFirstChildOfClass'Humanoid'.WalkSpeed = plr.Character:FindFirstChildOfClass'Humanoid'.WalkSpeed + 10
  305.     elseif key == "c" then
  306.         plr.Character:FindFirstChildOfClass'Humanoid'.WalkSpeed = plr.Character:FindFirstChildOfClass'Humanoid'.WalkSpeed - 10
  307.     end
  308. end)
  309.  
  310. mouse.Button1Down:connect(function()
  311.     if clicktp then
  312.         plr.Character:FindFirstChild'HumanoidRootPart'.CFrame = mouse.Hit
  313.     end
  314. end)
  315.  
  316.  
  317. -- ------------------------------------------------------------
  318.  
  319.  
  320.  
  321. mouse.Button1Down:connect(function()
  322.     if clicktp then
  323.         char:FindFirstChild'HumanoidRootPart'.CFrame = mouse.Hit
  324.     end
  325. end)
  326.  
  327. while wait() do
  328.     if redteam:FindFirstChild'SelfStats' then
  329.         enemyteam = blueteam
  330.     elseif blueteam:FindFirstChild'SelfStats' then
  331.         enemyteam = redteam
  332.     elseif not blueteam:FindFirstChild'SelfStats' and not redteam:FindFirstChild'SelfStats' then
  333.         error('Enemy team not found')
  334.     end
  335. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement