Advertisement
krijnlol

Untitled

Jun 9th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. local player = workspace:WaitForChild("krijnlol")
  2. speed = 40 --speed of the rainbow
  3. doHead = false --also color head
  4.  
  5. while true do
  6. for i = 0,1,0.001*speed do
  7. for o,v in pairs(player:GetChildren()) do
  8. if v.ClassName == "Part" then
  9. if doHead == true then
  10. v.Color = Color3.fromHSV(i,1,1)
  11. elseif doHead == false then
  12. if v.Name ~= "Head" then
  13. v.Color = Color3.fromHSV(i,1,1)
  14. end
  15. end
  16. end
  17. end
  18. wait()
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement