Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function randomColor()
- return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF, 0xFFD700, 0x6959CD, 0xFF3E96, 0xFF7F24, 0x9B30FF, 0xE8E8E8))
- end
- function eventLoop (currentTime, timeRemaining)
- for i=1,100 do
- for p,_ in pairs(tfm.get.room.playerList) do
- tfm.exec.setNameColor(p, randomColor());
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment