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

0

Can you show us the code you're using?

0

Yes

0

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)

0

Edit your post and add that.

0

Alrighty

0

Do you have any output, also?

0

It works perfectly fine for me in solo mode so I cannot get output