#animition play on tuching a part
1 messages · Page 1 of 1 (latest)
.
i hope the grammar mistakes are intentional
i am not englais srr
alright
can you help me
@short nymph
send your code
Nederlands toevallig? Ik ben niet het beste in scripten, maar ze willen dat jij jouw code in een codeblock stuurt (je doet zo met
blablabla
```)
Ik kan je proberen helpen, heb je gedacht aan een for loop te gebruiken bij part.Touched?
lua is optioneel
hey ik ben nederlands
** You are now Level 1! **
ow oke ik heb dit
ik heb me code weer opgesteld
function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if human then
local anim = human:LoadAnimation(script.Parent.Animation)
anim:Play()
end
end
script.Parent.Touched:connect(onTouched)
but how do i put it in code block