Advertisement
Da_HamsterLord

How to find the palette number of a color in roblox studio

May 18th, 2024
644
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.53 KB | Source Code | 0 0
  1. /*
  2. paste this into your brower's console (f12) and replace row and left pos by the correct numbers, like this :
  3. https://devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/a/0/9/a096e6c7814a4797bb608f85b8058ba4b15eff10.png
  4. */
  5.  
  6. let row = 2 // Change this to the row of the color
  7. let offset = 4 // Offset of the color from the left
  8.  
  9. row = row - 1
  10. let pos = 0
  11. for(let i = 1; i <= row; i++) {
  12.     if (i >= 7) {
  13.         pos += 13-(i-7)
  14.     } else {
  15.        pos += 7+i-1
  16.     }
  17. }
  18. console.log(pos + offset)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement