Meliodas0_0

Rainbow Car Jailbreak

Jul 26th, 2019
285
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function changecolor(colorcar)
  2. plr = game:GetService("Players")
  3. value = colorcar
  4. for i,v in pairs(workspace.Vehicles:GetChildren()) do
  5. for k,d in pairs (v:GetChildren()) do
  6. if v ~= nil then
  7. if v:FindFirstChild("Seat") then
  8. if v.Seat:FindFirstChild("PlayerName") then
  9. if v.Seat.PlayerName.Value == plr.LocalPlayer.Name then
  10. for a,b in pairs (d:GetChildren()) do
  11. if b.Name == "Body" then
  12. b.Color = value
  13. end
  14. end
  15. end
  16. end
  17. end
  18. end
  19. end
  20. end
  21. end
  22.  
  23. while wait(1) do
  24. wait(0.5)
  25. changecolor(Color3.fromRGB(255,119,0))
  26. wait(0.5)
  27. changecolor(Color3.fromRGB(255,0,0))
  28. wait(0.5)
  29. changecolor(Color3.fromRGB(255,255,0))
  30. wait(0.5)
  31. changecolor(Color3.fromRGB(98,37,209))
  32. wait(0.5)
  33. changecolor(Color3.fromRGB(0,255,0))
  34. wait(0.5)
  35. changecolor(Color3.fromRGB(0,255,255))
  36. wait(0.5)
  37. changecolor(Color3.fromRGB(255,176,0))
  38. end
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×