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 how to get random object from a table 
Lua :: How to make an NPC chat in roblox 
Lua :: base64 decode lua 
Lua :: absolute value in lua 
Lua :: luau region3 
Lua :: lua round number 
Lua :: roblox what is the difference between index and newindex 
Lua :: luau how to loop through all players 
Lua :: how to detect if part had children roblox 
Lua :: conda find package version 
Lua :: roblox studio mouse 
Lua :: continue in lua 
Lua :: make string all capital roblox 
Lua :: replace part of string lua 
Lua :: lua how to add something to a table 
Lua :: lua convert function to string 
Lua :: lua print table 
Lua :: what is a value lua 
Lua :: LUKAO150 
Lua :: lua code 
Lua :: open while loop lua 
Matlab :: anonymous function matlab 
Matlab :: matlab symbolic integration 
Matlab :: matlab new line in string 
Basic :: xolo themeforest 
Elixir :: elixir hello world 
Elixir :: phoenix run test 
Scala :: scala Datetime parse 
Actionscript :: how to resize a base64 image 
Excel :: excel column number 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =