Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Rainbow(Instance_1,Property,Color_Increment,Wait_Increment)if not Instance_1 or not Property then return;end;
- Color_Increment=Color_Increment or 2;Wait_Increment=Wait_Increment or 1/60;coroutine.wrap(function()local frame=0;
- while true do frame=frame+Color_Increment;if frame>=360 then frame=0;end;Instance_1[Property]=Color3.fromHSV(frame/360,1,1);
- wait(Wait_Increment);end;end)();end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement