I am working on a small project where when a player steps on a brick, a seed slowly becomes transparent. On my last question, I asked why it was not working the way I wanted to, and that is answered. But what was not clear is how to use the "humanoid". So far this is my script:
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid") then
for 1, 0 ,-0.01 do
game.Workspace.Seed.Transparency = i
end
end)
Why is nothing happening when I touch the brick? Even after adding "if" and "then".

1 comment
Haha, I realized I made one mistake. I forgot to change 'Touch' to 'Touched'. But it's still not working.