I have a Simulator game and sometimes when you try to join a server, you cant because your character doesnt load in. Usually when this happens another warning pops up saying: “Player:Move called, but player currently has no humanoid.”. It doesnt say from what script or whatsoever and my game shouldnt have anything that uses :Move on a player. When im in roblox studio and this warning comes, it adds - Studio, like when you have a script print it would say Finished leaderstats - Server - LeaderboardManager:133, for this it only says - Studio. I think this is causing the error for not loading in although im not quite sure, since sometimes it still does it but the character does load in. Any help?
When it happens, you would be stuck somewhere with no character and ur camera frozen, and ur Character.Parent is nil
Are you using a starter character? If so, then make sure it is Archivable
. Otherwise, I have no idea what can cause this issue.
Check out the CharacterAutoLoads
property in Players
and make sure that it’s enabled. If it is enabled and you are still experiencing the issue, make sure that scripts are not destroying the character upon loading. If CharacterAutoLoads
is enabled and you made sure that the scripts aren’t doing character:Destroy(), you can run this script to forcefully load the character:
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(p)
p.CharacterAdded:Connect(function(c)
local hum = c:WaitForChild("Humanoid", 10)
hum.Died:Connect(function()
task.wait(players.RespawnTime)
p:LoadCharacter()
end)
end)
p:LoadCharacter()
end)
hey thanks those were pretty good replies but turns out there used to be a bug back then where after the player left his character didnt delete so i had an insurance that deletes the character when the character leaves. so basically when the player tries to join back it would delete his character cuz it thinks it didnt delete the character yet, but now i fixed it (i think so atleast).
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.