So uh i've tried to make this a 2 month ago, so i didnt made that.

So asking.

How do i make damaged(hurt) animation(sound) script When player gets damaged it plays sound or animation.

Like this?

player = script.Parent -- a script inside player
hum = player:FindFirstChild("Humanoid")
sound = script.Sound

function Play()
sound:Play()
end

if hum:TakeDamage-- or what
Play()
end

2 comments

0

this is not a request site

0

Uh