SO I just need someone to help me fix this bug in my game. When I put prints in the script nothing will print. I put the script in Server Script Service before, and now I put it in Starter Character, yet it still will not work. Here's the script.
game.Players.PlayerAdded:Connect(function(p)
print(p.Name)
p.CharacterAdded:Connect(function(c)
print(c.Name)
local a = script.Animation:Clone()
a.AnimationId = script.Animation.AnimationId
a.Parent = c
local humanoid = c.Humanoid
local dance = humanoid:LoadAnimation(a)
dance.Looped = true
dance:Play()
end)
end)

3 comments
try putting it in workspace.
k thx
I got an error here it is: 06:52:09.298 - LoadAnimation requires the Humanoid object (Ruflixx.Humanoid) to be a descendant of the game object