Try reuploading the animation to roblox
I did, it wont work. Its the script.
Is this a group game? If so, make sure the owner of the animation IS the group.
Just create an Animator
under the Humanoid, and use that Animator to :LoadAnimation()
then use the AnimationTrack
returned to :Play()
.
local Players = game:GetService("Players")
local Dummy = script.Parent
local Humanoid = Dummy:FindFirstChildOfClass("Humanoid")
local Animator = Humanoid:FindFirstChildOfClass("Animator")
local Animation = Dummy.Animation
local function onPlayerAdded(Player: Player)
Player.Chatted:Connect(function(Message)
if Message == "test" then
local AnimationTrack = Animator:LoadAnimation(Animation)
AnimationTrack:Play()
end
end)
end
for _, Player in ipairs(Players:GetPlayers()) do
task.spawn(onPlayerAdded, Player)
end
Players.PlayerAdded:Connect(onPlayerAdded)
NOTE: This only work in LegacyChatService and not in TextChatService.
Its not a group game. (adding extra characters)
What is LegacyChatService? and how would I make it go into it?
This is LegacyChatService
This is TextChatService
If you want to change from LegacyChatService to TextChatService or vice versa, simply change the ChatVersion
property of TextChatService
in the Explorer.
It is LegacyChatService and it still doesnt work.
did you add an Animator inside the Humanoid?
Yes, I have. I’ve done basically everything that people have replied with,
don’t follow the others before, try only following what i’ve said because it won’t work if combined with mine, especially the creating AnimationController in the dummy just to animate it (it’s wrong, the Humanoid is already an AnimationController in disguise)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.