Search
 
SCRIPT & CODE EXAMPLE
 

LUA

luau make 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 :: roblox rainbow part 
Lua :: get all players roblox 
Lua :: lua loop through table 
Lua :: lerp lua 
Lua :: how to remove characters from a string in lua 
Lua :: how to make a part rotate roblox 
Lua :: roblox index and newindex 
Lua :: roblox make debounce 
Lua :: lua wrap number 
Lua :: wait function rebuilt in lua 
Lua :: roblox studio part color randomiser 
Lua :: lua gsub 
Lua :: lua event 
Lua :: roblox math.random 
Lua :: break in lua 
Lua :: get index of value in table lua 
Lua :: shift to sprint 
Lua :: lua split 
Lua :: fivem lua set player bucket 
Lua :: exemple boolean and why it is used 
Lua :: How to create a part with script in roblox srudio 
Matlab :: matlab how to get object type 
Matlab :: how to get the highest power of polynomial matlab 
Matlab :: save table matlab 
Basic :: dos/cmd equivalent to "head" 
Elixir :: elixir try catch 
Elixir :: elixir anonymous function 
Scala :: scalable meaning 
Actionscript :: microsoft.visualstudio.web.codegeneration.design 3.1.0 
Excel :: excel auto fit row height 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =