so i havea r6 model that i am trying to turn the character into, I was able to turn the character into the r6 model yet the model has no anims, I tried putting in the players animation script into the rig yet it doesn’t seem to work.
local rs = game:GetService("ReplicatedStorage")
local characterselecter = rs:FindFirstChild("CharacterSelect")
characterselecter.OnServerEvent:Connect(function(plr)
local charmodel = rs:WaitForChild("Test")
local clonedchr = charmodel:Clone()
plr.Character = clonedchr
clonedchr.Parent = workspace
end)
The reason this happens is because the default Animate script is a LocalScript, meaning it will only work for players.
This is an easy fix, create a new server script under the NPC, name it “Animate”, and copy and paste the code from the old local script into the new server one.