Player:LoadCharacter() not working

Hi, for some unknown reason, Player.LoadCharacter() is not working for me. I have CharacterAutoLoads Disabled in my game and when I made a localscript in starterplayerscripts it refuses to work

local Player = game.Players.LocalPlayer
Player:LoadCharacter()
Player.CharacterAdded:Connect(function()
	game.Players.CharacterAutoLoads = false
end)

I’m desperate, so any help would be appreciate a ton

3 Likes

LoadCharacter can only be ran on the server, to my knowledge.

Sadly, it changes nothing. :confused:

Try putting a script in the server that looks like this, because as he said, I’m pretty sure it’s a server-only deal

game.Players.CharacterAutoLoads = false;
game.Players.PlayerAdded:connect(function(p)
      p:LoadCharacter();
end)

It changes nothing which is annoying

put a script in ServerScriptService

NOT LOCAL

game.Players.CharacterAutoLoads = false
game.Players.PlayerAdded:Connect(function(Player)
      Player:LoadCharacter()
end)

Doesn’t work, sadly…
Is my studio just broken or smth?
I made sure, it’s a server-side script, locating in serverscrptservice

Try removing the LoadCharacter tell me what happens

Make a remote event that fire from client to load the character since it can’t be loaded directly on client.

Try something like:

--// LocalScript (example)
game.ReplicatedStorage.load:FireServer()

--// ServerScript (still an example)
game.ReplicatedStorage.load.OnServerEvent:Connect(function(Player)
	Player:LoadCharacter()
end)

You can just disable CharacterAutoLoads directly via ‘Players’ service in studio than in game on startup.
image

wanna know the funny thing?
I literally did that
but then i dumbed it down to find where the problem was
but then the problem was still there
also, the point of this post isnt to just disable characterautoloads
I want to find out why my script isn’t working is all.
Maybe it’s just me. I’ll reinstall robox studio and see what happens