Kashi_Wolf

Car Color

Nov 19th, 2020
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.14 KB | None | 0 0
  1. -- loadstring(game:GetObjects("rbxassetid://5740257502")[1].Source)()
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Vehicle = Instance.new("TextLabel")
  6. local CurColor = Instance.new("TextLabel")
  7. local Execute = Instance.new("TextButton")
  8. local ScrollingFrame = Instance.new("ScrollingFrame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local Color_1 = Instance.new("TextButton")
  11. local Color_15 = Instance.new("TextButton")
  12. local Color_14 = Instance.new("TextButton")
  13. local Color_13 = Instance.new("TextButton")
  14. local Color_12 = Instance.new("TextButton")
  15. local Color_11 = Instance.new("TextButton")
  16. local Color_10 = Instance.new("TextButton")
  17. local Color_9 = Instance.new("TextButton")
  18. local Color_8 = Instance.new("TextButton")
  19. local Color_7 = Instance.new("TextButton")
  20. local Color_6 = Instance.new("TextButton")
  21. local Color_5 = Instance.new("TextButton")
  22. local Color_4 = Instance.new("TextButton")
  23. local Color_3 = Instance.new("TextButton")
  24. local Color_2 = Instance.new("TextButton")
  25.  
  26. ScreenGui.Parent = game.CoreGui
  27.  
  28. Main.Name = "Main"
  29. Main.Parent = ScreenGui
  30. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  31. Main.BorderSizePixel = 0
  32. Main.Position = UDim2.new(0.372576177, -509, 0.0266900957, 334)
  33. Main.Size = UDim2.new(0, 213, 0, 246)
  34. Main.SizeConstraint = Enum.SizeConstraint.RelativeXX
  35. Main.Visible = false
  36.  
  37. Vehicle.Name = "Vehicle"
  38. Vehicle.Parent = Main
  39. Vehicle.BackgroundColor3 = Color3.new(0, 0.866667, 1)
  40. Vehicle.BorderSizePixel = 0
  41. Vehicle.Position = UDim2.new(0, 0, 1.16666663, 0)
  42. Vehicle.Size = UDim2.new(0, 214, 0, 30)
  43. Vehicle.Font = Enum.Font.Garamond
  44. Vehicle.Text = " Vehicle: Not Selected "
  45. Vehicle.TextColor3 = Color3.new(1, 0, 0)
  46. Vehicle.TextScaled = true
  47. Vehicle.TextSize = 14
  48. Vehicle.TextWrapped = true
  49.  
  50. CurColor.Name = "CurColor"
  51. CurColor.Parent = Main
  52. CurColor.BackgroundColor3 = Color3.new(0.854902, 0.854902, 0.854902)
  53. CurColor.BackgroundTransparency = 1
  54. CurColor.BorderSizePixel = 0
  55. CurColor.Size = UDim2.new(0, 213, 0, 46)
  56. CurColor.Font = Enum.Font.SourceSans
  57. CurColor.Text = " Color: Not Selected "
  58. CurColor.TextColor3 = Color3.new(0.0901961, 1, 0.972549)
  59. CurColor.TextScaled = true
  60. CurColor.TextSize = 14
  61. CurColor.TextWrapped = true
  62.  
  63. Execute.Name = "Execute"
  64. Execute.Parent = Main
  65. Execute.BackgroundColor3 = Color3.new(0.529412, 0.054902, 1)
  66. Execute.BackgroundTransparency = 0.0099999997764826
  67. Execute.BorderSizePixel = 0
  68. Execute.Position = UDim2.new(0, 0, 0.998856544, 0)
  69. Execute.Size = UDim2.new(0, 213, 0, 42)
  70. Execute.Font = Enum.Font.Cartoon
  71. Execute.Text = "Execute"
  72. Execute.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  73. Execute.TextSize = 35
  74. Execute.TextWrapped = true
  75.  
  76. ScrollingFrame.Parent = Main
  77. ScrollingFrame.Active = true
  78. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  79. ScrollingFrame.BackgroundTransparency = 1
  80. ScrollingFrame.Position = UDim2.new(0, 0, 0.182926834, 0)
  81. ScrollingFrame.Size = UDim2.new(0, 213, 0, 201)
  82. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 2.4000001, 0)
  83.  
  84. TextLabel.Parent = ScrollingFrame
  85. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  86. TextLabel.BackgroundTransparency = 1
  87. TextLabel.Position = UDim2.new(0, 0, 0.932706356, 0)
  88. TextLabel.Size = UDim2.new(0, 199, 0, 39)
  89. TextLabel.Font = Enum.Font.SourceSans
  90. TextLabel.Text = "Hacker#8326"
  91. TextLabel.TextColor3 = Color3.new(0, 1, 1)
  92. TextLabel.TextScaled = true
  93. TextLabel.TextSize = 14
  94. TextLabel.TextWrapped = true
  95.  
  96. Color_1.Name = "Color_1"
  97. Color_1.Parent = ScrollingFrame
  98. Color_1.BackgroundColor3 = Color3.new(1, 1, 1)
  99. Color_1.BackgroundTransparency = 1
  100. Color_1.BorderSizePixel = 0
  101. Color_1.Position = UDim2.new(0, 0, 0.000889120041, 0)
  102. Color_1.Size = UDim2.new(0, 199, 0, 37)
  103. Color_1.Font = Enum.Font.Cartoon
  104. Color_1.Text = "Medium stone grey"
  105. Color_1.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  106. Color_1.TextSize = 35
  107. Color_1.TextWrapped = true
  108. Color_1.TextXAlignment = Enum.TextXAlignment.Left
  109.  
  110. Color_15.Name = "Color_15"
  111. Color_15.Parent = ScrollingFrame
  112. Color_15.BackgroundColor3 = Color3.new(1, 1, 1)
  113. Color_15.BackgroundTransparency = 1
  114. Color_15.BorderSizePixel = 0
  115. Color_15.Position = UDim2.new(0, 0, 0.435725302, 0)
  116. Color_15.Size = UDim2.new(0, 199, 0, 37)
  117. Color_15.Font = Enum.Font.Cartoon
  118. Color_15.Text = "Sand green"
  119. Color_15.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  120. Color_15.TextSize = 35
  121. Color_15.TextWrapped = true
  122. Color_15.TextXAlignment = Enum.TextXAlignment.Left
  123.  
  124. Color_14.Name = "Color_14"
  125. Color_14.Parent = ScrollingFrame
  126. Color_14.BackgroundColor3 = Color3.new(1, 1, 1)
  127. Color_14.BackgroundTransparency = 1
  128. Color_14.BorderSizePixel = 0
  129. Color_14.Position = UDim2.new(0, 0, 0.497316808, 0)
  130. Color_14.Size = UDim2.new(0, 199, 0, 37)
  131. Color_14.Font = Enum.Font.Cartoon
  132. Color_14.Text = "Sand red"
  133. Color_14.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  134. Color_14.TextSize = 35
  135. Color_14.TextWrapped = true
  136. Color_14.TextXAlignment = Enum.TextXAlignment.Left
  137.  
  138. Color_13.Name = "Color_13"
  139. Color_13.Parent = ScrollingFrame
  140. Color_13.BackgroundColor3 = Color3.new(1, 1, 1)
  141. Color_13.BackgroundTransparency = 1
  142. Color_13.BorderSizePixel = 0
  143. Color_13.Position = UDim2.new(0, 0, 0.558908343, 0)
  144. Color_13.Size = UDim2.new(0, 199, 0, 37)
  145. Color_13.Font = Enum.Font.Cartoon
  146. Color_13.Text = "Faded green"
  147. Color_13.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  148. Color_13.TextSize = 35
  149. Color_13.TextWrapped = true
  150. Color_13.TextXAlignment = Enum.TextXAlignment.Left
  151.  
  152. Color_12.Name = "Color_12"
  153. Color_12.Parent = ScrollingFrame
  154. Color_12.BackgroundColor3 = Color3.new(1, 1, 1)
  155. Color_12.BackgroundTransparency = 1
  156. Color_12.BorderSizePixel = 0
  157. Color_12.Position = UDim2.new(0, 0, 0.374133736, 0)
  158. Color_12.Size = UDim2.new(0, 199, 0, 37)
  159. Color_12.Font = Enum.Font.Cartoon
  160. Color_12.Text = "Dark grey metallic"
  161. Color_12.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  162. Color_12.TextSize = 35
  163. Color_12.TextWrapped = true
  164. Color_12.TextXAlignment = Enum.TextXAlignment.Left
  165.  
  166. Color_11.Name = "Color_11"
  167. Color_11.Parent = ScrollingFrame
  168. Color_11.BackgroundColor3 = Color3.new(1, 1, 1)
  169. Color_11.BackgroundTransparency = 1
  170. Color_11.BorderSizePixel = 0
  171. Color_11.Position = UDim2.new(0, 0, 0.248948976, 0)
  172. Color_11.Size = UDim2.new(0, 199, 0, 37)
  173. Color_11.Font = Enum.Font.Cartoon
  174. Color_11.Text = "Dark grey"
  175. Color_11.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  176. Color_11.TextSize = 35
  177. Color_11.TextWrapped = true
  178. Color_11.TextXAlignment = Enum.TextXAlignment.Left
  179.  
  180. Color_10.Name = "Color_10"
  181. Color_10.Parent = ScrollingFrame
  182. Color_10.BackgroundColor3 = Color3.new(1, 1, 1)
  183. Color_10.BackgroundTransparency = 1
  184. Color_10.BorderSizePixel = 0
  185. Color_10.Position = UDim2.new(0, 0, 0.18735747, 0)
  186. Color_10.Size = UDim2.new(0, 199, 0, 37)
  187. Color_10.Font = Enum.Font.Cartoon
  188. Color_10.Text = "Earth yellow"
  189. Color_10.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  190. Color_10.TextSize = 35
  191. Color_10.TextWrapped = true
  192. Color_10.TextXAlignment = Enum.TextXAlignment.Left
  193.  
  194. Color_9.Name = "Color_9"
  195. Color_9.Parent = ScrollingFrame
  196. Color_9.BackgroundColor3 = Color3.new(1, 1, 1)
  197. Color_9.BackgroundTransparency = 1
  198. Color_9.BorderSizePixel = 0
  199. Color_9.Position = UDim2.new(0, 0, 0.125765949, 0)
  200. Color_9.Size = UDim2.new(0, 199, 0, 37)
  201. Color_9.Font = Enum.Font.Cartoon
  202. Color_9.Text = "Earth orange"
  203. Color_9.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  204. Color_9.TextSize = 35
  205. Color_9.TextWrapped = true
  206. Color_9.TextXAlignment = Enum.TextXAlignment.Left
  207.  
  208. Color_8.Name = "Color_8"
  209. Color_8.Parent = ScrollingFrame
  210. Color_8.BackgroundColor3 = Color3.new(1, 1, 1)
  211. Color_8.BackgroundTransparency = 1
  212. Color_8.BorderSizePixel = 0
  213. Color_8.Position = UDim2.new(0, 0, 0.0641744137, 0)
  214. Color_8.Size = UDim2.new(0, 199, 0, 37)
  215. Color_8.Font = Enum.Font.Cartoon
  216. Color_8.Text = "Silver"
  217. Color_8.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  218. Color_8.TextSize = 35
  219. Color_8.TextWrapped = true
  220. Color_8.TextXAlignment = Enum.TextXAlignment.Left
  221.  
  222. Color_7.Name = "Color_7"
  223. Color_7.Parent = ScrollingFrame
  224. Color_7.BackgroundColor3 = Color3.new(1, 1, 1)
  225. Color_7.BackgroundTransparency = 1
  226. Color_7.BorderSizePixel = 0
  227. Color_7.Position = UDim2.new(0, 0, 0.747378469, 0)
  228. Color_7.Size = UDim2.new(0, 199, 0, 37)
  229. Color_7.Font = Enum.Font.Cartoon
  230. Color_7.Text = "Brick yellow"
  231. Color_7.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  232. Color_7.TextSize = 35
  233. Color_7.TextWrapped = true
  234. Color_7.TextXAlignment = Enum.TextXAlignment.Left
  235.  
  236. Color_6.Name = "Color_6"
  237. Color_6.Parent = ScrollingFrame
  238. Color_6.BackgroundColor3 = Color3.new(1, 1, 1)
  239. Color_6.BackgroundTransparency = 1
  240. Color_6.BorderSizePixel = 0
  241. Color_6.Position = UDim2.new(0, 0, 0.622501612, 0)
  242. Color_6.Size = UDim2.new(0, 199, 0, 37)
  243. Color_6.Font = Enum.Font.Cartoon
  244. Color_6.Text = "Dark red"
  245. Color_6.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  246. Color_6.TextSize = 35
  247. Color_6.TextWrapped = true
  248. Color_6.TextXAlignment = Enum.TextXAlignment.Left
  249.  
  250. Color_5.Name = "Color_5"
  251. Color_5.Parent = ScrollingFrame
  252. Color_5.BackgroundColor3 = Color3.new(1, 1, 1)
  253. Color_5.BackgroundTransparency = 1
  254. Color_5.BorderSizePixel = 0
  255. Color_5.Position = UDim2.new(0, 0, 0.870561481, 0)
  256. Color_5.Size = UDim2.new(0, 199, 0, 37)
  257. Color_5.Font = Enum.Font.Cartoon
  258. Color_5.Text = "Hot pink"
  259. Color_5.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  260. Color_5.TextSize = 35
  261. Color_5.TextWrapped = true
  262. Color_5.TextXAlignment = Enum.TextXAlignment.Left
  263.  
  264. Color_4.Name = "Color_4"
  265. Color_4.Parent = ScrollingFrame
  266. Color_4.BackgroundColor3 = Color3.new(1, 1, 1)
  267. Color_4.BackgroundTransparency = 1
  268. Color_4.BorderSizePixel = 0
  269. Color_4.Position = UDim2.new(0, 0, 0.685786903, 0)
  270. Color_4.Size = UDim2.new(0, 199, 0, 37)
  271. Color_4.Font = Enum.Font.Cartoon
  272. Color_4.Text = "Rust"
  273. Color_4.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  274. Color_4.TextSize = 35
  275. Color_4.TextWrapped = true
  276. Color_4.TextXAlignment = Enum.TextXAlignment.Left
  277.  
  278. Color_3.Name = "Color_3"
  279. Color_3.Parent = ScrollingFrame
  280. Color_3.BackgroundColor3 = Color3.new(1, 1, 1)
  281. Color_3.BackgroundTransparency = 1
  282. Color_3.BorderSizePixel = 0
  283. Color_3.Position = UDim2.new(0, 0, 0.808969975, 0)
  284. Color_3.Size = UDim2.new(0, 199, 0, 37)
  285. Color_3.Font = Enum.Font.Cartoon
  286. Color_3.Text = "Really black"
  287. Color_3.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  288. Color_3.TextSize = 35
  289. Color_3.TextWrapped = true
  290. Color_3.TextXAlignment = Enum.TextXAlignment.Left
  291.  
  292. Color_2.Name = "Color_2"
  293. Color_2.Parent = ScrollingFrame
  294. Color_2.BackgroundColor3 = Color3.new(1, 1, 1)
  295. Color_2.BackgroundTransparency = 1
  296. Color_2.BorderSizePixel = 0
  297. Color_2.Position = UDim2.new(0, 0, 0.310848475, 0)
  298. Color_2.Size = UDim2.new(0, 199, 0, 37)
  299. Color_2.Font = Enum.Font.Cartoon
  300. Color_2.Text = "Lemon metalic"
  301. Color_2.TextColor3 = Color3.new(0.376471, 1, 0.0901961)
  302. Color_2.TextSize = 35
  303. Color_2.TextWrapped = true
  304. Color_2.TextXAlignment = Enum.TextXAlignment.Left
  305.  
  306. local Sound_1 = Instance.new("Sound")
  307.  
  308. Sound_1.Name = "Sound"
  309. Sound_1.SoundId = "rbxassetid://408524543"
  310. Sound_1.Volume = 2
  311. Sound_1.archivable = false
  312. Sound_1.Parent = game:GetService("Workspace")
  313.  
  314. function Sound1()
  315. Sound_1:play()
  316. end
  317.  
  318. local Sound_2 = Instance.new("Sound")
  319.  
  320. Sound_2.Name = "Song1"
  321. Sound_2.SoundId = "rbxassetid://452267918"
  322. Sound_2.Volume = 2
  323. Sound_2.archivable = false
  324. Sound_2.Parent = game:GetService("Workspace")
  325.  
  326. function Sound2()
  327. Sound_2:play()
  328. end
  329.  
  330. local UIGradient = Instance.new("UIGradient", Main)
  331. UIGradient.Color = ColorSequence.new({
  332. ColorSequenceKeypoint.new(0, Color3.new(0, 0.4, 1)),
  333. ColorSequenceKeypoint.new(1, Color3.new(0.54902, 0, 1))
  334. })
  335.  
  336. local Colors = { Color_1, Color_2, Color_3, Color_4, Color_5, Color_6, Color_7, Color_8, Color_9, Color_10, Color_11, Color_12, Color_13, Color_14, Color_15}
  337.  
  338. for i, v in pairs(Colors) do
  339. v.MouseEnter:connect(function()
  340. Sound1()
  341. end)
  342. v.MouseButton1Down:connect(function()
  343. Sound2()
  344. CurColor.Text = " Color: " .. v.Text .. " "
  345. end)
  346. end
  347.  
  348. local Tool = Instance.new("Tool", game:GetService("Players").LocalPlayer.Backpack)
  349. Tool.Name = "Car Color Tool"
  350. Tool.RequiresHandle = false
  351. Tool.CanBeDropped = false
  352. Tool.Unequipped:Connect(function()
  353. Main.Visible = false
  354. end)
  355.  
  356. local C = nil
  357. local FP = nil
  358.  
  359. game:GetService("Workspace").PlayerModels.ChildAdded:connect(function(v) v:WaitForChild("Owner")
  360. if v:WaitForChild("PaintParts") then
  361. FP = v.PaintParts.Part
  362. end
  363. end)
  364.  
  365. local function Press(Button)
  366. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(Button)
  367. end
  368.  
  369. local Car = nil
  370.  
  371. Tool.Equipped:Connect(function(Mouse)
  372. Main.Visible = true
  373. Mouse.Button1Down:connect(function()
  374. if Mouse.Target and Mouse.Target.Parent.Type and Mouse.Target.Parent.Type.Value == "Vehicle Spot" then
  375. Car = Mouse.Target.Parent:FindFirstChild("ButtonRemote_SpawnButton", true)
  376. Vehicle.Text = " Vehicle: " .. Mouse.Target.Parent.ItemName.Value .. " "
  377. end
  378. end)
  379. end)
  380.  
  381. Execute.MouseEnter:connect(function()
  382. Sound1()
  383. end)
  384.  
  385. Execute.MouseButton1Down:connect(function()
  386. if CurColor.Text ~= " Color: Not Selected " and Car ~= nil then
  387. Sound2()
  388. repeat
  389. Press(Car)
  390. repeat wait(0.05) until FP ~= C
  391. C = FP
  392. until FP.BrickColor.Name == string.sub(CurColor.Text, 9, #CurColor.Text - 1) or FP.BrickColor.Name == "Hot pink"
  393. end
  394. end)
Add Comment
Please, Sign In to add comment