Untitled

mail@pastecode.io avatar
unknown
lua
2 years ago
527 B
6
Indexable
Never
-- skrypt zmieniajacy kolor pilki co 2s
local ball = script.Parent
-- petla zawsze zmieniajaca kolor co 2 sekundy 
while true do
	-- zmiana koloru 
	ball.Color = Color3.fromRGB(23, 255, 6)
	wait(0.5)
	ball.Color = Color3.fromRGB(93, 205, 245)
	wait(0.5)
	ball.Color = Color3.fromRGB(117, 125, 243)
	wait(0.5)
	ball.Color = Color3.fromRGB(95, 58, 243)
	wait(0.5)
	ball.Color = Color3.fromRGB(221, 118, 243)
	wait(0.5)
	ball.Color = Color3.fromRGB(243, 67, 224)
	wait(0.5)
	ball.Color = Color3.fromRGB(243, 82, 81)
	wait(0.5)
end