Advertisement
ZploitKing

Rainbow

Oct 3rd, 2020
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. --If it's used to a hack script
  2. spawn(function()
  3.  
  4. local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  5.  
  6. local ZploitKing = 0
  7. wait()
  8.  
  9. spawn(function()
  10.  
  11. while wait() do
  12. Frame.BackgroundColor3 = Color3.fromHSV(zigzag(ZploitKing),1,1)
  13.  
  14. ZploitKing = ZploitKing + 0.0036
  15.  
  16. end
  17. end)
  18.  
  19. end)
  20.  
  21. --If it's used to a normal game
  22. spawn(function()
  23.  
  24. local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  25.  
  26. local ZploitKing = 0
  27. wait()
  28.  
  29. spawn(function()
  30.  
  31. while wait() do
  32. script.Parent.Parent.StarterGui.ScreenGui.Frame.BackgroundColor3 = Color3.fromHSV(zigzag(ZploitKing),1,1)
  33.  
  34. ZploitKing = ZploitKing + 0.0036
  35.  
  36. end
  37. end)
  38.  
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement