Search
 
SCRIPT & CODE EXAMPLE
 

LUA

luau make a 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 rainbow part 
Lua :: how to save to a file lua 
Lua :: How to make an NPC chat in roblox 
Lua :: lua not equal 
Lua :: lowercase lua 
Lua :: roblox send message script 
Lua :: Lua array add item 
Lua :: roblox debounce 
Lua :: luau loop players 
Lua :: forever loop in lua 
Lua :: random brick colour in roblox studio 
Lua :: lua check if string is number 
Lua :: how to get the player mouse in roblox studio 
Lua :: how to delete parts with a script in roblox studio 
Lua :: how to print a variable in lua 
Lua :: Best way to get player from character? 
Lua :: lua string replace 
Lua :: draw circle love2d 
Lua :: wails build 
Lua :: roblox player left 
Lua :: roblox for loop 
Matlab :: find location of max value in array matlab 
Matlab :: matlab log 
Matlab :: how to decrypt a code in mat 
Basic :: how to capture link cefsharp 
Elixir :: elixir guard 
Elixir :: elixir sleep 
Scala :: scala empty list 
Scala :: scala reverse string 
Excel :: excel conditionally highlight multiple columns based on one column 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =