Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox 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 :: how to save to a file lua 
Lua :: lua 
Lua :: repeating loop roblox 
Lua :: lua math floor 
Lua :: roblox get humanoid state 
Lua :: kill player when something touchd lua 
Lua :: roblox what is the difference between __index and __newindex 
Lua :: roblox get player by name 
Lua :: try except lua 
Lua :: roblox studio Teleport service not working 
Lua :: roblox lua brick color randomiser 
Lua :: lua add table to value 
Lua :: lua list append 
Lua :: roblox random number generator 
Lua :: lua clear table 
Lua :: to the power of in lua 
Lua :: What is The Color changing script for luaa 
Lua :: ex: CFrame to vector3 roblox lua 
Lua :: Print when a player joined roblxo 
Lua :: Ackermann function lua 
Lua :: global variables lua 
Matlab :: matlab count elements in matrix 
Matlab :: matlab single and double 
Matlab :: how to multiply matrixes in matlab 
Basic :: split to arraylist vb.net 
Elixir :: elixir string to atom 
Elixir :: elixir strings 
Scala :: scala map example 
Actionscript :: move records from table to another using knex migration 
Excel :: excel number of column 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =