Advertisement
Hecker0001

Vehicle tycoon script

May 12th, 2022
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local MAinGUI2 = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TPG = Instance.new("TextButton")
  10. local Speed = Instance.new("TextButton")
  11. local BOX = Instance.new("TextButton")
  12. local Frame = Instance.new("Frame")
  13. local TextLabel_2 = Instance.new("TextLabel")
  14. local TextLabel_3 = Instance.new("TextLabel")
  15. local Frame_2 = Instance.new("Frame")
  16. local Frame_3 = Instance.new("Frame")
  17. local Frame_4 = Instance.new("Frame")
  18. local Frame_5 = Instance.new("Frame")
  19. local Frame_6 = Instance.new("Frame")
  20. local Frame_7 = Instance.new("Frame")
  21. local Frame_8 = Instance.new("Frame")
  22. local Frame_9 = Instance.new("Frame")
  23. local Frame_10 = Instance.new("Frame")
  24. local Frame_11 = Instance.new("Frame")
  25.  
  26. --Properties:
  27.  
  28. MAinGUI2.Name = "MAinGUI2"
  29. MAinGUI2.Parent = game.CoreGui
  30. MAinGUI2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  31.  
  32. Main.Name = "Main"
  33. Main.Parent = MAinGUI2
  34. Main.Active = true
  35. Main.BackgroundColor3 = Color3.fromRGB(39, 39, 39)
  36. Main.BackgroundTransparency = 0.350
  37. Main.Position = UDim2.new(0, 0, 0.599571705, 0)
  38. Main.Size = UDim2.new(0, 525, 0, 328)
  39. Main.Draggable = true
  40.  
  41. TextLabel.Parent = Main
  42. TextLabel.BackgroundColor3 = Color3.fromRGB(40, 255, 2)
  43. TextLabel.Position = UDim2.new(0, 0, -0.00193440914, 0)
  44. TextLabel.Size = UDim2.new(0, 525, 0, 43)
  45. TextLabel.Font = Enum.Font.SourceSansBold
  46. TextLabel.Text = "Vehicle Tycoon"
  47. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. TextLabel.TextScaled = true
  49. TextLabel.TextSize = 14.000
  50. TextLabel.TextWrapped = true
  51.  
  52. TPG.Name = "TPG"
  53. TPG.Parent = Main
  54. TPG.BackgroundColor3 = Color3.fromRGB(22, 148, 0)
  55. TPG.Position = UDim2.new(0.0419047624, 0, 0.234756112, 0)
  56. TPG.Size = UDim2.new(0, 207, 0, 42)
  57. TPG.Font = Enum.Font.Cartoon
  58. TPG.Text = "TP gift box"
  59. TPG.TextColor3 = Color3.fromRGB(0, 0, 0)
  60. TPG.TextScaled = true
  61. TPG.TextSize = 14.000
  62. TPG.TextWrapped = true
  63. TPG.MouseButton1Down:connect(function()
  64. _G.UoU= true
  65. while _G.UoU do
  66. local UwU = game.Players.LocalPlayer.Character.HumanoidRootPart
  67. for i,v in pairs(game.workspace.CoinEvent.Coins:GetChildren()) do
  68. v.CFrame = UwU.CFrame
  69. wait(0.2)
  70. end
  71. end
  72. end)
  73.  
  74. Speed.Name = "Speed"
  75. Speed.Parent = Main
  76. Speed.BackgroundColor3 = Color3.fromRGB(22, 148, 0)
  77. Speed.Position = UDim2.new(0.0419047624, 0, 0.490853667, 0)
  78. Speed.Size = UDim2.new(0, 207, 0, 42)
  79. Speed.Font = Enum.Font.Cartoon
  80. Speed.Text = "MAX speed car!"
  81. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  82. Speed.TextScaled = true
  83. Speed.TextSize = 14.000
  84. Speed.TextWrapped = true
  85. Speed.MouseButton1Down:connect(function()
  86. local name = game.Players.LocalPlayer.Name
  87. game:GetService("Workspace").Vehicles[name].Stats.MaxSpeed.Value = 9999999999
  88. game:GetService("Workspace").Vehicles[name].Stats.AccelerateTorque.Value = 9999999999
  89. end)
  90.  
  91. BOX.Name = "BOX"
  92. BOX.Parent = Main
  93. BOX.BackgroundColor3 = Color3.fromRGB(22, 148, 0)
  94. BOX.Position = UDim2.new(0.0419047624, 0, 0.759146392, 0)
  95. BOX.Size = UDim2.new(0, 207, 0, 42)
  96. BOX.Font = Enum.Font.Cartoon
  97. BOX.Text = "farm zone!"
  98. BOX.TextColor3 = Color3.fromRGB(0, 0, 0)
  99. BOX.TextScaled = true
  100. BOX.TextSize = 14.000
  101. BOX.TextWrapped = true
  102. BOX.MouseButton1Down:connect(function()
  103. local car = game.workspace.Vehicles[game.Players.LocalPlayer.Name]
  104. local part1 = Instance.new("Part")
  105. part1.Anchored = true
  106. part1.Position = Vector3.new(-4000, 250, -4000)
  107. part1.Size = Vector3.new(50000, 1, 50000)
  108. local part2 = Instance.new("Part")
  109. part2.Anchored = true
  110. part2.Position = Vector3.new(4000, 250, 4000)
  111. part2.Size = Vector3.new(50000, 1, 50000)
  112. part1.Parent = workspace
  113. part2.Parent = workspace
  114. wait(1)
  115. while wait(1.5) do
  116. car:SetPrimaryPartCFrame(CFrame.new(part1.Position + Vector3.new(0, 1, 0)))
  117. wait(1.5)
  118. car:SetPrimaryPartCFrame(CFrame.new(part2.Position + Vector3.new(0, 1, 0)))
  119. end
  120. end)
  121.  
  122. Frame.Parent = Main
  123. Frame.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  124. Frame.BorderColor3 = Color3.fromRGB(102, 255, 0)
  125. Frame.Position = UDim2.new(0.514285743, 0, 0.129163131, 0)
  126. Frame.Size = UDim2.new(0, 255, 0, 285)
  127.  
  128. TextLabel_2.Parent = Frame
  129. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  130. TextLabel_2.BackgroundTransparency = 1.000
  131. TextLabel_2.Size = UDim2.new(0, 255, 0, 49)
  132. TextLabel_2.Font = Enum.Font.SourceSans
  133. TextLabel_2.Text = "Script By : TOXICALLAN"
  134. TextLabel_2.TextColor3 = Color3.fromRGB(98, 255, 0)
  135. TextLabel_2.TextScaled = true
  136. TextLabel_2.TextSize = 20.000
  137. TextLabel_2.TextWrapped = true
  138.  
  139. TextLabel_3.Parent = Frame
  140. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. TextLabel_3.BackgroundTransparency = 1.000
  142. TextLabel_3.Position = UDim2.new(-0.184313729, 0, 0.135559559, 0)
  143. TextLabel_3.Size = UDim2.new(0, 255, 0, 21)
  144. TextLabel_3.Font = Enum.Font.SourceSans
  145. TextLabel_3.Text = "GUI by : Mr.UFOOmc"
  146. TextLabel_3.TextColor3 = Color3.fromRGB(98, 255, 0)
  147. TextLabel_3.TextScaled = true
  148. TextLabel_3.TextSize = 14.000
  149. TextLabel_3.TextWrapped = true
  150.  
  151. Frame_2.Parent = Frame
  152. Frame_2.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  153. Frame_2.Position = UDim2.new(0.70588237, 0, 0.501754403, 0)
  154. Frame_2.Size = UDim2.new(0, 6, 0, 142)
  155.  
  156. Frame_3.Parent = Frame
  157. Frame_3.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  158. Frame_3.BorderColor3 = Color3.fromRGB(55, 255, 0)
  159. Frame_3.Position = UDim2.new(0.90196085, 0, 0.501754403, 0)
  160. Frame_3.Size = UDim2.new(0, 6, 0, 142)
  161.  
  162. Frame_4.Parent = Frame
  163. Frame_4.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  164. Frame_4.BorderColor3 = Color3.fromRGB(98, 255, 0)
  165. Frame_4.Position = UDim2.new(0.729411781, 0, 0.739068389, 0)
  166. Frame_4.Size = UDim2.new(0, 50, 0, 6)
  167.  
  168. Frame_5.Parent = Frame
  169. Frame_5.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  170. Frame_5.BorderColor3 = Color3.fromRGB(0, 255, 59)
  171. Frame_5.Position = UDim2.new(0.48627454, 0, 0.501754403, 0)
  172. Frame_5.Size = UDim2.new(0, 6, 0, 142)
  173.  
  174. Frame_6.Parent = Frame
  175. Frame_6.BackgroundColor3 = Color3.fromRGB(38, 255, 0)
  176. Frame_6.BorderColor3 = Color3.fromRGB(98, 255, 0)
  177. Frame_6.Position = UDim2.new(0.36470589, 0, 0.50047189, 0)
  178. Frame_6.Size = UDim2.new(0, 70, 0, 6)
  179.  
  180. Frame_7.Parent = Main
  181. Frame_7.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  182. Frame_7.BorderColor3 = Color3.fromRGB(255, 0, 4)
  183. Frame_7.Position = UDim2.new(0, 0, 1, 0)
  184. Frame_7.Size = UDim2.new(0, 525, 0, 8)
  185.  
  186. Frame_8.Parent = Main
  187. Frame_8.BackgroundColor3 = Color3.fromRGB(0, 34, 255)
  188. Frame_8.BorderColor3 = Color3.fromRGB(59, 0, 255)
  189. Frame_8.Position = UDim2.new(0, 0, 1.04878044, 0)
  190. Frame_8.Size = UDim2.new(0, 525, 0, 13)
  191.  
  192. Frame_9.Parent = Main
  193. Frame_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  194. Frame_9.BorderColor3 = Color3.fromRGB(255, 255, 255)
  195. Frame_9.Position = UDim2.new(0, 0, 1.08841467, 0)
  196. Frame_9.Size = UDim2.new(0, 525, 0, 8)
  197.  
  198. Frame_10.Parent = Main
  199. Frame_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  200. Frame_10.BorderColor3 = Color3.fromRGB(255, 255, 255)
  201. Frame_10.Position = UDim2.new(0, 0, 1.02439022, 0)
  202. Frame_10.Size = UDim2.new(0, 525, 0, 8)
  203.  
  204. Frame_11.Parent = Main
  205. Frame_11.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  206. Frame_11.BorderColor3 = Color3.fromRGB(255, 0, 4)
  207. Frame_11.Position = UDim2.new(0, 0, 1.11280489, 0)
  208. Frame_11.Size = UDim2.new(0, 525, 0, 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement