Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function randomColor()
- return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
- 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
Advertisement