Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox rainbow part

local TweenService = game:GetService("TweenService")
local part = workspace.ColorPart
local red = Color3.fromHSV(0, 1, 1)
local hue = 0
part.Color = red
local partColorTweenInfo = TweenInfo.new(1 --[[seconds]])
while true do
	hue += (360 / 12) / 360
	if hue > 1 then
		hue -= 1
	end
	local tweenPartColor = TweenService:Create(part, partColorTweenInfo, {Color = Color3.fromHSV(hue, 1, 1)})
	tweenPartColor:Play()
	tweenPartColor.Completed:Wait()
end
Comment

PREVIOUS NEXT
Code Example
Lua :: luau make a rainbow part 
Lua :: lua how to get random object from a table 
Lua :: roblox get player from character 
Lua :: lua multiline comment 
Lua :: how to get last element of array in lua 
Lua :: lua calculate average number 
Lua :: how to print hello in lua 
Lua :: luau debounce 
Lua :: roblox tween part 
Lua :: lua for loop 
Lua :: roblox random brick colour 
Lua :: roblox pairs 
Lua :: lua sort 
Lua :: roblox number generator 
Lua :: how to print in lua 
Lua :: how to access an index of a table lua 
Lua :: How to split license id fivem 
Lua :: roblox get how many players in server 
Lua :: random number lua 
Lua :: convert a float to string lua 
Lua :: enable http service roblox 
Matlab :: matlab for loop matrix 
Matlab :: how to implement a timer in designer in matlab 
Matlab :: SAVE TABLE IN MATLAB 
Basic :: ogg to mp3 
Elixir :: elixir catch 
Elixir :: elixir enum chunk_every 
Scala :: new scala project 
Actionscript :: reset udemy course 
Excel :: excel auto adjust row heights 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =