ItzSapire
(Sapire)
December 23, 2022, 11:41pm
1
script.Parent.Activated:Connect(function()
Script:
script.Parent.Activated:Connect(function()
local animation = script:WaitForChild(“Animation”)
local playerCharacter = script.Parent.Parent
local humanoid = playerCharacter.Humanoid
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
animationTrack.Stopped:Wait()
end)
Theres no errors either and when do a print(“playing”) it prints playing but still does not add an animation
R_obotz
(Robotz)
December 24, 2022, 12:17am
2
If your game is owned by a group, make sure the animation is uploaded in the group. Otherwise, it would only work in Roblox Studio. Let me know if that’s not what your issue is about.
1 Like
ItzSapire
(Sapire)
December 24, 2022, 12:34am
3
its works now, thank you.
With this i have to add more then just thank you to send it…
system
(system)
Closed
January 7, 2023, 12:35am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.