Im trying to play a anition when click on a part [ClicckDetector] but it dosen't work, any help??
code:
local click = script.Parent.ClickDetector
local Sew = script.Parent
local anim = script.Parent.Animation
-----------------------------------------
click.MouseClick:Connect(function(playerWhoClicked)
playerWhoClicked.Character.Humanoid:LoadAnimation(playerWhoClicked,3122381458)
en

3 comments
My brain.... I'm soo stupid
loadanimation requires an animation object..?
nvm fixed it myself :)