Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can't reload a player's character, I'm not sure how, help?

I've been trying for a hour to re-spawn/re-load a character. Basically, I need the players to re-spawn at the new spawns, but I want to avoid just setting their health to 0 because the death animation will look tacky and unprofessional.

The script is really long so here is the small part I'm having trouble with.

Code:

     game.Workspace.Lobby.LobbySpawns.Parent = game.ReplicatedStorage 
	wait(1)
	game.ReplicatedStorage.MapSpawns.LavaIce.Parent = game.Workspace
	wait(0.1)
	-- Respawn/LoadChar on this line?
	wait(500)

3 comments

0

Call LoadCharacter

0

@incapaz There's an option to answer if you have one. Typing the answer in comments is pretty much low-priority to this website.

1 answer

When you want him to respawn, Do the line:

player = game.players[name] -- you need the player

player:LoadCharacter()

Hope it helps!

This discussion is preserved as it was. New answers, comments, and votes are closed.