Disable character spawning ONLY on playerjoin

Now I know that I can use a seperate script to just do player:loadcharacter() everytime someone dies, but is there a way to have the character only not load when the player joins? (since it maks everything more simple)

been so long since i’ve used the forums XD

Yes, there is indeed a way for a code to not appear in the character’s avatar once joining! For this, create a Script under SeverScriptService and get the service called “Players” that will help to make further events once added into an experience:

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
	print(player.Name, "added.") -- To indicate that the player joined fully the experience.

	game.StarterPlayer.LoadCharacterAppearance = false 
-- Changing the value of LoadCharacterAppearence (underneath of StarterPlayer) to false, so the avatar cannot be loaded.
end)

Hope this can help!

Have :LoadCharacter() fire only when the character dies. So you would need to load a character first to start dying and reloading.
Then make a GUI as a menu to load the player and have a script load the GUI into the Player’s PlayerGui (Because it won’t autoload if CharacterAutoLoads is false.)

Pretty simple hopefully?
Also turn off CharacterAutoLoads if you haven’t

Oof I think you misunderstood what I meant.

I wanted to achieve the same results as to turning off “character autoloads” when the player joins for the first time (so no player character is loaded at all, not just the avatar)

nvm Imma just go with the idea of just using a seperate script to spawn the character lol

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.