local target = workspace:FindFirstChild("p0x38")

local factor = 100

local a = 0
local b = 0
local c = 0

while target do
	for i,v in pairs(target:GetChildren()) do
		if v:IsA("BasePart") then
			local pos = v.CFrame.Position
			a = (pos.X * 25) % 255
			b = (pos.Y * 25) % 255
			c = (pos.Z * 25) % 255
			v.Color = Color3.fromRGB(a,b,c)
		end
	end
	task.wait(0.1)
end