I need help with this color change script.
#3
[lua]
detector = script.Parent
function Bake(hit)
if hit.Name == "Bread" and detector.On.Value == true then
--If On is a BoolValue, you need .Value too.
hit.Color = Color(102,51,0)
sleep(.1)
end end --IMPORTANT!
link(detector.Collided, Bake)

[/lua]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)