I've written the following code in an attempt to change the fire's color every time a player touches it:
local fire = script.Parent.Fire
local rgb = math.random(0, 255)
script.Parent.Touched:Connect(function(connect)
if connect.Parent:FindFirstChild("Humanoid") then
fire.Color = Color3.new(rgb/255,rgb/255,rgb/255)
end
end)
However, the function only changes the color once per play test. I'd like it to be able to change colors an unlimited amount of times, for every time a player touches the part.

3 comments
God dammit! I was going to post that! Fine, you take the throne.
Nice try! Also, (Since I can see your deleted post since I'm an SH Admin), you still technically didn't solve his problem! You'd have to move line 2 to after the Touched event
Perfect. Thank you!