This is a local script, and I don't know what's wrong.

cooldown = true

script.Parent.Touched:Connect(function()

cooldown = false

script.Parent.Parent.Grass:Play()

wait(0.5)

cooldown = true

end)

3 comments

0

Walking sound effects? You can use Humanoid.FloorMaterial for this

0

Can you send the corrected version to fix this local script of mine?

0

That's not how this works. You can't just ask someone to make an entire script for you. Look up Humanoid or FloorMaterial on the wiki.