im trying to make an animated rig change ur walk/run with a click detector, but when i do multiple for some reason only one script works on all of them. and my rigs move around when i walk into them
this is my code:
'''lua
local clickDetector = script.Parent
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
wait(3)
char.Animate.walk.WalkAnim.AnimationId = "rbxassetid://102856364027403"
char.Animate.run.RunAnim.AnimationId = "rbxassetid://102856364027403"
end)
end)
'''
** You are now Level 1! **