Search
 
SCRIPT & CODE EXAMPLE
 

LUA

luau 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 how to make a rainbow part 
Lua :: roblox how to get random object from a table 
Lua :: if string contains lua 
Lua :: lua exponent 
Lua :: sleep function lua 
Lua :: roblox player joined 
Lua :: lua How to remove index from table 
Lua :: roblox how to make debounce 
Lua :: roblox loop all players 
Lua :: lua loop 
Lua :: roblox studio random part color 
Lua :: how to check if a sting incules something roblox 
Lua :: roblox tweenservice 
Lua :: roblox luau random number 
Lua :: check lua version 
Lua :: fivem commands example lua 
Lua :: roblox player chatter event 
Lua :: roblox script to create brick 
Lua :: can you throw an error forceable in lua 
Lua :: lua coding lines to test with 
Lua :: how to enable https service roblox 
Matlab :: matlab title with variable 
Matlab :: display sequence in matlab 
Matlab :: matlab text subscript 
Basic :: Detailview with form mixing 
Elixir :: elixir string concatination 
Elixir :: elixir with syntax 
Scala :: hashset scala 
Scala :: how to tell what type a variable is scala 
Excel :: google sheets if 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =