local Event = game.ReplicatedStorage.Test

Event:FireServer()
-- Local Script
-- Server Script
local Event = game.ReplicatedStorage:WaitForChild("Test")
local TestChar = game.ReplicatedStorage.AlreadyPro
Event.OnServerEvent:Connect(function(plr)
    plr.Character = TestChar
end)

Event fires but when it works it makes this this message and i don't understand.

Error: LoadAnimation requires the Humanoid object (Coder_1.Humanoid) to be a descendant of the game object

The character already has humanoid and everything.

Yeah i tried this and it didn't work the player has humanoid and everything im not trying to set it for everyone just one player this is just a test to see if i can make it work so i can implement in my game.

Can someone help me with this error its not getting destroyed by anything its a fresh baseplate with two scripts.

4 comments

0

This doesn't appear to be the script responsible to the error, seeing as it contains no animation related code, could we see the other script you mentioned?

0

I have no animation code there it is just those two scripts then one that fires and the server that receives

0

Then there is no reason to get a LoadAnimation error, not sure what could be happening then. Do you know which script is giving this error?

0

I think it loads animation because roblox loads in default humanoid assets such as animations and stuff and it could be an error while it tries loading it i might try adding a wait after i set the character to give it time to rejog itself.