script.Parent.ClickDetector.MouseClick:connect(function(p)
if p.Backpack:findFirstChild("Fish") then p.Backpack:findFirstChild("Fish").VertexColor = 0.4,0.4,0.4
end
end)
✓ ANSWER ACCEPTED
Why wont this work? (Very easy and short code!)
1 answer
✓ Accepted answer
script.Parent.ClickDetector.MouseClick:connect(function(p)
if p.Backpack:findFirstChild("Fish") then
p.Backpack:findFirstChild("Fish").VertexColor = Vector3.new(0.4,0.4,0.4)
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
