setTemporaryColor
API -
return function()
local user = getUser('clonzeh');
if user == nil then
log('user does not exist!');
return;
end
user.setTemporaryColor('random', 30); --random and none works here
--sets a temporary avatar regardless of user's ownership/statuses for 30 seconds
wait(1);
user.setTemporaryColor('blue', 120);
wait(1);
user.setTemporaryColor('blue', 1);
--best way to remove the temporaryAvatar -
--reset the timer to 1 so it ticks off right away.
wait(1);
user.setTemporaryColor('blue', 0);
--0 lasts until application restart or until set to a different timer.
end
Last updated