Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I add realistic grass movement noises? [closed]

Asked by 7 years ago

I want it so that when you step on a brick, it makes a realistic noise, so if it were grass it would sound like you're walking through grass. Thanks.

0
This is an advanced idea for Roblox scripting, i'd advise that you head off to the wiki all you need is there, if you're a new or novice scripter than the scripting book is for you. Here are the links: http://wiki.roblox.com/index.php?title=AllTutorials http://wiki.roblox.com/?title=Scripting_Book Barrel_Head 2 — 7y

Closed as Not Constructive by RubenKan, GoldenPhysics, and AZDev

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

3 answers

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

This isn't a request site. Read the question page before asking. Thanks.

Ad
Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

You're gonna need an on touch script. Get yourself a ring (Sonic The Hedgehog) from the library on Roblox and use that script for the grass part with the sound it comes with.

Log in to vote
0
Answered by 7 years ago

People seem to be mad because you are requesting something. Well it's pretty easy so I don't mind. Try something like this.

local s = Instance.new("Sound")
s.Parent = game.Players.LocalPlayer
s.SoundId = "321159602" --Insert ID here. Pretty sure it has to be the rbx asset ID
s.Looped = false
s.Volume = 10
game.Workspace.Grass.Touched:connect(function() --Assuming it's a part and not a model
 s:Play()

--Only keep this part if the sound clip is too long and needs to stop
wait() --However much you'd like
s:Stop()