Blood Script Color

How would I make a blood script use two different colors, and evenly make half the blood Color A, and the other half Color B.

You would probably want to use Color3:Lerp()

local Red = Color3.fromRGB(255,0,0) --Color red
local Green = Color3.fromRGB(0,255,0) --Color green

local RedGreen = Red:Lerp(Green, .5) --50/50 mix between red and green
workspace.Baseplate.Color = RedGreen

no I meant like literally it picks half of all parts to be red, and half of all parts to be blue

Loop through all the parts and use math.random to generate a random number

local Parts = workspace.Parts:GetChildren()
local BloodColorA = Color3.fromRGB(200, 0, 0)
local BloodColorB =, 0.415686, 0.0784314)

for _,Part in Parts do
	if math.random(1,2) == 1 then
		Part.Color = BloodColorA
		Part.Color = BloodColorB

1 Like

you could do something like this

local Red = true 

--// the script that spawns the blood part
Red = not Red

if Red == true then 
	Part.Color = Color3.fromRGB(255, 0, 0)
	Part.Color = Color3.fromRGB(255, 170, 0)
1 Like