But they only way they work is in game test solo and will not work when my friend trys it in solo.
script.Parent.ClickDetector.MouseClick:connect(function(playerWhoClicked)
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=147602703" -- your id here
local animTrack =playerWhoClicked.Character:FindFirstChild("Humanoid"):LoadAnimation(animation)
-- change Humanoid to the target's Humanoid
animTrack:Play()
end)

7 comments
Can you show us the code you're using?
Yes
script.Parent.ClickDetector.MouseClick:connect(function(playerWhoClicked) local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=147602703" -- your id here local animTrack =playerWhoClicked.Character:FindFirstChild("Humanoid"):LoadAnimation(animation) -- change Humanoid to the target's Humanoid animTrack:Play() end)
Edit your post and add that.
Alrighty
Do you have any output, also?
It works perfectly fine for me in solo mode so I cannot get output