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 :: roblox how to make rainbow part 
Lua :: how to execute scripts when a button gui is pressed roblox 
Lua :: roblox jsonencode 
Lua :: how to choose a random item from a table lua 
Lua :: roblox lua on player chatted 
Lua :: lua for each in table 
Lua :: tostring lua 
Lua :: luau how to make debounce 
Lua :: roblox tween part color 
Lua :: lua globals 
Lua :: roblox brick color 
Lua :: lua roblox global variables 
Lua :: error: LINK : fatal error LNK1561: entry point must be defined 
Lua :: roblox number between 1 and 10 
Lua :: string.match roblox 
Lua :: lua script 
Lua :: lua push to aray 
Lua :: how to make variables in lua 
Lua :: lua how to make a click button 
Lua :: lua how to default value if nil or false 
Lua :: lua run string as code 
Matlab :: matlab parameter in title 
Matlab :: matlab function files 
Matlab :: BIDS json IntendedFor field examples 
Basic :: Trollbox 
Elixir :: elixir defguard 
Elixir :: how to split a string in elixir 
Scala :: scala split string to list 
Scala :: scala check if seq container true booleans 
Excel :: excel highlight rows where column matches text 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =