AchieveStuffs

text

Feb 17th, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  2.  
  3. counter = 0
  4.  
  5. while wait(0.1)do
  6.  script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  7.  
  8.  counter = counter + 0.01
  9. end
Add Comment
Please, Sign In to add comment