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

ho do i add impact sound effect when i hit a humanoid? [closed]

Asked by 5 years ago

i dont get how or where to put it plss hep me

0
Do you have a sword script? show the attack script/line of it. If not, do you mean when it gets hit in general? jdm4llfem8 94 — 5y

Closed as Not Constructive by Gey4Jesus69 and User#5423

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?

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago
local sound = Instance.new(“Sound”,game.Workspace)
sound.SoundId = — put the sound ID here

This will create a sound and whenever you want to play it, you type

sound:Play()

In your case, you can play the sound when a person has taken damage

0
I personally haven’t tested this out but it should work. TheOneKingx 7 — 5y
Ad