Pastebloxian

MAD CITY SPEEDY GUI

Feb 1st, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.64 KB | None | 0 0
  1.  
  2. game:GetService("StarterGui"):SetCore("SendNotification", {
  3.   Title = "nice to see u there!",
  4.   Text = "Join The Discord discord.gg/pmj9xBP."
  5. })
  6. -- Instances:
  7. local SpeedyDevs = Instance.new("ScreenGui")
  8. local main = Instance.new("ImageLabel")
  9. local credits = Instance.new("TextLabel")
  10. local header = Instance.new("Frame")
  11. local headers = Instance.new("TextLabel")
  12. local headerstuff = Instance.new("Frame")
  13. local headerpeddy = Instance.new("TextLabel")
  14. local closeuwu = Instance.new("ImageLabel")
  15. local b_teleport = Instance.new("TextButton")
  16. local b_autorob = Instance.new("TextButton")
  17. local b_infammo = Instance.new("TextButton")
  18. local b_stuff = Instance.new("TextButton")
  19. local b_xpfarm = Instance.new("TextButton")
  20. local b_autoarrest = Instance.new("TextButton")
  21. local tps = Instance.new("ImageLabel")
  22. local tpheaders = Instance.new("Frame")
  23. local tpheaderstuff = Instance.new("Frame")
  24. local tpheader = Instance.new("TextLabel")
  25. local b_coptp = Instance.new("TextButton")
  26. local b_crimtp = Instance.new("TextButton")
  27. --Properties:
  28. SpeedyDevs.Name = "SpeedyDevs"
  29. SpeedyDevs.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  30. SpeedyDevs.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  31. SpeedyDevs.ResetOnSpawn = false
  32.  
  33. main.Name = "main"
  34. main.Parent = SpeedyDevs
  35. main.BackgroundColor3 = Color3.new(1, 1, 1)
  36. main.BackgroundTransparency = 1
  37. main.BorderColor3 = Color3.new(0.172549, 0.184314, 0.2)
  38. main.BorderSizePixel = 5
  39. main.Position = UDim2.new(0.0974833891, 0, 0.503685534, 0)
  40. main.Size = UDim2.new(0, 244, 0, 247)
  41. main.Image = "rbxassetid://2260429633"
  42. main.ImageColor3 = Color3.new(0.172549, 0.184314, 0.2)
  43. main.ScaleType = Enum.ScaleType.Slice
  44. main.SliceCenter = Rect.new(12, 12, 13, 13)
  45. main.Active = true
  46. main.Draggable = true
  47.  
  48. credits.Name = "credits"
  49. credits.Parent = main
  50. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  51. credits.BackgroundTransparency = 1
  52. credits.BorderSizePixel = 0
  53. credits.Position = UDim2.new(0.0901639313, 0, 0.866330087, 0)
  54. credits.Size = UDim2.new(0, 200, 0, 20)
  55. credits.Font = Enum.Font.Highway
  56. credits.Text = "Created by Speedy#4325 / Speedy Devs Owner"
  57. credits.TextColor3 = Color3.new(1, 1, 1)
  58. credits.TextSize = 12
  59.  
  60. header.Name = "header"
  61. header.Parent = main
  62. header.BackgroundColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  63. header.BorderColor3 = Color3.new(0.172549, 0.184314, 0.2)
  64. header.BorderSizePixel = 0
  65. header.Position = UDim2.new(-0.00171507895, 0, -0.00625565648, 0)
  66. header.Size = UDim2.new(0, 244, 0, 27)
  67.  
  68. headers.Name = "headers"
  69. headers.Parent = header
  70. headers.BackgroundColor3 = Color3.new(1, 1, 1)
  71. headers.BackgroundTransparency = 1
  72. headers.BorderSizePixel = 0
  73. headers.Position = UDim2.new(-0.0656557083, 0, 0, 0)
  74. headers.Size = UDim2.new(0, 200, 0, 27)
  75. headers.Font = Enum.Font.Highway
  76. headers.Text = "S"
  77. headers.TextColor3 = Color3.new(1, 0, 0)
  78. headers.TextScaled = true
  79. headers.TextSize = 14
  80. headers.TextWrapped = true
  81.  
  82. headerstuff.Name = "headerstuff"
  83. headerstuff.Parent = header
  84. headerstuff.BackgroundColor3 = Color3.new(1, 1, 1)
  85. headerstuff.BorderSizePixel = 0
  86. headerstuff.Position = UDim2.new(0, 0, 1, 0)
  87. headerstuff.Size = UDim2.new(0, 244, 0, 4)
  88.  
  89. headerpeddy.Name = "headerpeddy"
  90. headerpeddy.Parent = header
  91. headerpeddy.BackgroundColor3 = Color3.new(1, 1, 1)
  92. headerpeddy.BackgroundTransparency = 1
  93. headerpeddy.Position = UDim2.new(0.0942623019, 0, 0, 0)
  94. headerpeddy.Size = UDim2.new(0, 200, 0, 27)
  95. headerpeddy.Font = Enum.Font.Highway
  96. headerpeddy.Text = "peedy"
  97. headerpeddy.TextColor3 = Color3.new(1, 1, 1)
  98. headerpeddy.TextScaled = true
  99. headerpeddy.TextSize = 14
  100. headerpeddy.TextWrapped = true
  101.  
  102. closeuwu.Name = "close uwu"
  103. closeuwu.Parent = header
  104. closeuwu.BackgroundColor3 = Color3.new(1, 1, 1)
  105. closeuwu.BackgroundTransparency = 1
  106. closeuwu.Position = UDim2.new(0.86475414, 0, 0, 0)
  107. closeuwu.Size = UDim2.new(0, 33, 0, 31)
  108. closeuwu.Image = "rbxassetid://1312007357"
  109.  
  110. b_teleport.Name = "b_teleport"
  111. b_teleport.Parent = main
  112. b_teleport.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  113. b_teleport.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  114. b_teleport.BorderSizePixel = 5
  115. b_teleport.Position = UDim2.new(0.5368855, 0, 0.68217051, 0)
  116. b_teleport.Size = UDim2.new(0, 90, 0, 22)
  117. b_teleport.Font = Enum.Font.Highway
  118. b_teleport.Text = "Teleports"
  119. b_teleport.TextColor3 = Color3.new(1, 1, 1)
  120. b_teleport.TextScaled = true
  121. b_teleport.TextSize = 14
  122. b_teleport.TextWrapped = true
  123.  
  124. b_autorob.Name = "b_autorob"
  125. b_autorob.Parent = main
  126. b_autorob.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  127. b_autorob.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  128. b_autorob.BorderSizePixel = 5
  129. b_autorob.Position = UDim2.new(0.0901635513, 0, 0.452915579, 0)
  130. b_autorob.Size = UDim2.new(0, 90, 0, 22)
  131. b_autorob.Font = Enum.Font.Highway
  132. b_autorob.Text = "Auto Rob"
  133. b_autorob.TextColor3 = Color3.new(1, 1, 1)
  134. b_autorob.TextScaled = true
  135. b_autorob.TextSize = 14
  136. b_autorob.TextWrapped = true
  137.  
  138. b_infammo.Name = "b_infammo"
  139. b_infammo.Parent = main
  140. b_infammo.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  141. b_infammo.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  142. b_infammo.BorderSizePixel = 5
  143. b_infammo.Position = UDim2.new(0.0901635885, 0, 0.224680662, 0)
  144. b_infammo.Size = UDim2.new(0, 90, 0, 22)
  145. b_infammo.Font = Enum.Font.Highway
  146. b_infammo.Text = "Infinite Ammo"
  147. b_infammo.TextColor3 = Color3.new(1, 1, 1)
  148. b_infammo.TextScaled = true
  149. b_infammo.TextSize = 14
  150. b_infammo.TextWrapped = true
  151.  
  152. b_stuff.Name = "b_stuff"
  153. b_stuff.Parent = main
  154. b_stuff.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  155. b_stuff.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  156. b_stuff.BorderSizePixel = 5
  157. b_stuff.Position = UDim2.new(0.536885381, 0, 0.222146332, 0)
  158. b_stuff.Size = UDim2.new(0, 90, 0, 22)
  159. b_stuff.Font = Enum.Font.Highway
  160. b_stuff.Text = "Coming Soon!"
  161. b_stuff.TextColor3 = Color3.new(1, 1, 1)
  162. b_stuff.TextScaled = true
  163. b_stuff.TextSize = 14
  164. b_stuff.TextWrapped = true
  165.  
  166. b_xpfarm.Name = "b_xpfarm"
  167. b_xpfarm.Parent = main
  168. b_xpfarm.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  169. b_xpfarm.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  170. b_xpfarm.BorderSizePixel = 5
  171. b_xpfarm.Position = UDim2.new(0.540983737, 0, 0.452915549, 0)
  172. b_xpfarm.Size = UDim2.new(0, 90, 0, 22)
  173. b_xpfarm.Font = Enum.Font.Highway
  174. b_xpfarm.Text = "XP Farm"
  175. b_xpfarm.TextColor3 = Color3.new(1, 1, 1)
  176. b_xpfarm.TextScaled = true
  177. b_xpfarm.TextSize = 14
  178. b_xpfarm.TextWrapped = true
  179.  
  180. b_autoarrest.Name = "b_autoarrest"
  181. b_autoarrest.Parent = main
  182. b_autoarrest.BackgroundColor3 = Color3.new(0.447059, 0.537255, 0.854902)
  183. b_autoarrest.BorderColor3 = Color3.new(0.137255, 0.152941, 0.164706)
  184. b_autoarrest.BorderSizePixel = 5
  185. b_autoarrest.Position = UDim2.new(0.0901641846, 0, 0.68217051, 0)
  186. b_autoarrest.Size = UDim2.new(0, 90, 0, 22)
  187. b_autoarrest.Font = Enum.Font.Highway
  188. b_autoarrest.Text = "Auto Arrest"
  189. b_autoarrest.TextColor3 = Color3.new(1, 1, 1)
  190. b_autoarrest.TextScaled = true
  191. b_autoarrest.TextSize = 14
  192. b_autoarrest.TextWrapped = true
  193.  
  194. tps.Name = "tps"
  195. tps.Parent = SpeedyDevs
  196. tps.BackgroundColor3 = Color3.new(1, 1, 1)
  197. tps.BackgroundTransparency = 1
  198. tps.BorderColor3 = Color3.new(0.172549, 0.184314, 0.2)
  199. tps.BorderSizePixel = 5
  200. tps.Position = UDim2.new(0.265840322, 0, 0.501228452, 0)
  201. tps.Size = UDim2.new(0, 116, 0, 152)
  202. tps.Visible = false
  203. tps.Image = "rbxassetid://2260429633"
  204. tps.ImageColor3 = Color3.new(0.666667, 0, 0)
  205. tps.ScaleType = Enum.ScaleType.Slice
  206. tps.SliceCenter = Rect.new(12, 12, 13, 13)
  207. tps.Active = true
  208. tps.Draggable = true
  209.  
  210. tpheaders.Name = "tpheaders"
  211. tpheaders.Parent = tps
  212. tpheaders.BackgroundColor3 = Color3.new(1, 0, 0)
  213. tpheaders.BorderColor3 = Color3.new(0.172549, 0.184314, 0.2)
  214. tpheaders.BorderSizePixel = 0
  215. tpheaders.Position = UDim2.new(-0.00171800691, 0, -0.00625570212, 0)
  216. tpheaders.Size = UDim2.new(0, 116, 0, 27)
  217.  
  218. tpheaderstuff.Name = "tpheaderstuff"
  219. tpheaderstuff.Parent = tpheaders
  220. tpheaderstuff.BackgroundColor3 = Color3.new(1, 1, 1)
  221. tpheaderstuff.BorderSizePixel = 0
  222. tpheaderstuff.Position = UDim2.new(0, 0, 1, 0)
  223. tpheaderstuff.Size = UDim2.new(0, 116, 0, 4)
  224.  
  225. tpheader.Name = "tpheader"
  226. tpheader.Parent = tpheaders
  227. tpheader.BackgroundColor3 = Color3.new(1, 1, 1)
  228. tpheader.BackgroundTransparency = 1
  229. tpheader.Size = UDim2.new(0, 116, 0, 27)
  230. tpheader.Font = Enum.Font.Highway
  231. tpheader.Text = "Teleports"
  232. tpheader.TextColor3 = Color3.new(1, 1, 1)
  233. tpheader.TextScaled = true
  234. tpheader.TextSize = 14
  235. tpheader.TextWrapped = true
  236.  
  237. b_coptp.Name = "b_coptp"
  238. b_coptp.Parent = tps
  239. b_coptp.BackgroundColor3 = Color3.new(0.917647, 0.176471, 0.211765)
  240. b_coptp.BorderColor3 = Color3.new(0.917647, 0.376471, 0.388235)
  241. b_coptp.BorderSizePixel = 5
  242. b_coptp.Position = UDim2.new(0.109949306, 0, 0.365871042, 0)
  243. b_coptp.Size = UDim2.new(0, 90, 0, 16)
  244. b_coptp.Font = Enum.Font.Highway
  245. b_coptp.Text = "Police Spawn TP"
  246. b_coptp.TextColor3 = Color3.new(1, 1, 1)
  247. b_coptp.TextScaled = true
  248. b_coptp.TextSize = 14
  249. b_coptp.TextWrapped = true
  250.  
  251. b_crimtp.Name = "b_crimtp"
  252. b_crimtp.Parent = tps
  253. b_crimtp.BackgroundColor3 = Color3.new(0.917647, 0.176471, 0.211765)
  254. b_crimtp.BorderColor3 = Color3.new(0.917647, 0.376471, 0.388235)
  255. b_crimtp.BorderSizePixel = 5
  256. b_crimtp.Position = UDim2.new(0.109949306, 0, 0.655344725, 0)
  257. b_crimtp.Size = UDim2.new(0, 90, 0, 16)
  258. b_crimtp.Font = Enum.Font.Highway
  259. b_crimtp.Text = "Criminal Base TP"
  260. b_crimtp.TextColor3 = Color3.new(1, 1, 1)
  261. b_crimtp.TextScaled = true
  262. b_crimtp.TextSize = 14
  263. b_crimtp.TextWrapped = true
  264. -- Scripts:
  265.  
  266. local ColorEnabled = Color3.new(0, 255, 0)
  267. local ColorDisabled = Color3.new(255, 255, 255)
  268. _G.Enabled = false
  269.  
  270. function InfiniteAmmo()
  271.     local getmom = debug.getupvalues or getupvalues
  272. local set = debug.setupvalue or setupvalue
  273.  
  274. for _,v in next, debug.getregistry() do
  275.     if type(v) == "function" then
  276.         local ear,wax=pcall(getmom,v)
  277.         if ear and wax.Ammo then
  278.             set(v,"Ammo",math.huge)
  279.             set(v,"Clip",math.huge)
  280.             set(v,"Spread",0)
  281.             set(v,"Recoil",0)
  282.             set(v,"FireRate",0)
  283.         end
  284.     end
  285. end
  286. end
  287.  
  288. function AutoRob()
  289.     local cash = workspace.ObjectSelection:GetChildren()
  290.  
  291. for _,v in pairs(cash) do
  292.     if v.Name == "CashRegister" and v:FindFirstChild("SmashCash") then
  293.         local gaycash = v.SmashCash.SmashCash.Event
  294.         gaycash:FireServer()
  295.     end
  296.     if v.Name == "SlotMachine" and v:FindFirstChild("SlotMachine") then
  297.         local gayslot = v.SlotMachine.SlotMachine.Event
  298.         gayslot:FireServer()
  299.     end
  300.     if v.Name == "ATM" and v:FindFirstChild("ATM") then
  301.         local gayatm = v.ATM.ATM.Event
  302.         gayatm:FireServer()
  303.     end
  304.     if v.Name == "Safe" and v:FindFirstChild("SmashCash") then
  305.         local gaysafe = v.SmashCash.SmashCash.Event
  306.         gaysafe:FireServer()
  307.     end
  308.     if v.Name == "Cash" and v:FindFirstChild("Cash") then
  309.         local bitgaycash = v.Cash.Cash.Event
  310.         bitgaycash:FireServer()
  311.     end
  312.     if v.Name == "TipJar" and v:FindFirstChild("SmashCash") then
  313.         local bitgayTIPJAR = v.SmashCash.SmashCash.Event
  314.         bitgayTIPJAR:FireServer()
  315.     end
  316.     if v.Name == "TV" and v:FindFirstChild("StealTV") then
  317.         local bitTV = v.StealTV.StealTV.Event
  318.         bitTV:FireServer()
  319.     end
  320. end
  321. end
  322.  
  323. function AutoArrest()
  324. local plr = game:GetService("Players").LocalPlayer
  325. _G.arrest = true
  326. while _G.arrest do
  327. wait()
  328. for _,v in pairs(game.Teams.Criminals:GetPlayers()) do
  329. local char = plr.Character.HumanoidRootPart
  330. char.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,3)
  331. local Arrest = "Arrest"
  332. local BitGay = game:GetService("Players")[v.Name]
  333. local remote = game:GetService("ReplicatedStorage").Event
  334. wait()
  335. remote:FireServer(Arrest,BitGay)
  336. end
  337. end
  338. end
  339.  
  340.  
  341.  
  342. b_infammo.MouseButton1Down:connect(function()
  343.     if _G.Enabled == false then
  344.         b_infammo.TextColor3 = ColorEnabled
  345.         InfiniteAmmo()
  346.         _G.Enabled = true
  347.     else
  348.         b_infammo.TextColor3 = ColorDisabled
  349.         InfiniteAmmo()
  350.         _G.Enabled = false
  351.     end
  352. end)
  353.  
  354. b_autorob.MouseButton1Down:connect(function()
  355.     if _G.Enabled == false then
  356.         b_autorob.TextColor3 = ColorEnabled
  357.         AutoRob()
  358.         _G.Enabled = true
  359.         wait(3)
  360.         b_autorob.TextColor3 = ColorDisabled
  361.         _G.Enabled = false
  362.        
  363.     end
  364. end)
  365.  
  366. b_autoarrest.MouseButton1Down:connect(function()
  367.     if _G.Enabled == false then
  368.         AutoArrest()
  369.         b_autoarrest.TextColor3 = ColorEnabled
  370.         _G.Enabled = true
  371.     else
  372.         b_autoarrest.TextColor3 = ColorDisabled
  373.         _G.arrest = false
  374.         _G.Enabled = false
  375.     end
  376. end)
  377.  
  378. b_teleport.MouseButton1Down:connect(function()
  379.     if _G.Enabled == false then
  380.         _G.Enabled = true
  381.         tps.Visible = true
  382.         b_teleport.TextColor3 = ColorEnabled
  383.     else
  384.         b_teleport.TextColor3 = ColorDisabled
  385.         tps.Visible = false
  386.         _G.Enabled = false
  387.     end
  388. end)
  389.  
  390. b_xpfarm.MouseButton1Down:connect(function()
  391.     if not _G.Enabled then
  392.         _G.Enabled = true
  393.         b_xpfarm.TextColor3 = ColorEnabled
  394.         game:GetService("RunService").RenderStepped:connect(function()
  395.             if _G.Enabled then
  396.                 if game.Players.LocalPlayer.Team.Name == "Prisoners" then
  397.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2115.5,25,347.5)
  398.                 end
  399.                 wait(.5)
  400.                 if game.Players.LocalPlayer.Team.Name == "Criminals" then
  401.                     game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Police")
  402.                     wait(.5)
  403.                     game.ReplicatedStorage.RemoteFunction:InvokeServer("SetTeam", "Prisoners")
  404.                     wait(.95)
  405.                 end
  406.             end
  407.         end)
  408.     else
  409.         _G.Enabled = false
  410.         b_xpfarm.TextColor3 = ColorDisabled
  411.     end
  412. end)
  413.  
  414. b_coptp.MouseButton1Down:connect(function()
  415.     local cop = workspace.PlayerSpawns.PoliceSpawn
  416.     local plr = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  417.     plr.CFrame = CFrame.new(-947.889099, 53, -2949.44995)
  418. end)
  419.  
  420. b_crimtp.MouseButton1Down:connect(function()
  421.     local crimbase = workspace.CriminalBase1.TouchEnd
  422.     local plr = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  423.     plr.CFrame = crimbase.CFrame + Vector3.new(0,3,0)
  424. end)
Add Comment
Please, Sign In to add comment