The issue is that’s he does not dance when in client mode or in game, but he dances when I’m in server mode on studio.
I have been looking on internet and docs, but still having issue with it.
The code :
local set = script.Settings
local sp = set.Speed
local enabled = set.Enabled
local hum = script.Parent:WaitForChild("Humanoid")
if hum then
print("Success")
else
print("No Humanoid")
end
local humanim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
if enabled.Value == true then
humanim:Play()
humanim.Looped = true
humanim:AdjustSpeed(sp.Value)
end
The NPC ingame or in client mode, standing like this. He’s unanchored.
In server mode.
If anyone has an idea why it’s not working, feel free to tell me :')