#animition play on tuching a part

1 messages · Page 1 of 1 (latest)

slow cove
#

i made a animition on a R6 Rig i called him Rik because i have more then one i want that the player wen he stept on a part called TuchParty that the animatie plays on the player it self can anyone help me with this, this is the id from the animation. ID: 89040238991687

viscid obsidian
#

.

short nymph
#

i hope the grammar mistakes are intentional

slow cove
#

i am not englais srr

short nymph
#

alright

slow cove
#

can you help me

slow cove
#

@short nymph

crimson patio
#

send your code

slow cove
#

id?

#

van de animatie

#

i do not have a code now

#

i deleted because it not worlked

sleek ruin
#

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

slow cove
#

hey ik ben nederlands

raven finchBOT
#

studio** You are now Level 1! **studio

slow cove
#

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