[HELP] Load Character in Roblox Studio

Hi guys! Im making a game, and in the main menu scene, I just put a default R16 player model. And I want to script this player model to load the personal character for each player who are in the main menu.

image

Script I found:

local Players = game:GetService("Players")

local function PlayerAdded(Player)
	
	local function CharacterAdded(Character)
		
		local Humanoid = Character:WaitForChild("Humanoid")
		
		local HumanoidDescription = Humanoid:GetAppliedDescription()
		
		workspace.Dummy.Humanoid:ApplyDescription(HumanoidDescription) 		--Path to dummy humanoid and apply HumanoidDescription
		
		script:Destroy()
	end
	
	Player.CharacterAdded:Connect(CharacterAdded)
end

Players.PlayerAdded:Connect(PlayerAdded)
1 Like

Thanks for that! Should I put this script or local script inside the R16 player model?

This appears to be a Server Script. Put it in ServerScriptService.

2 Likes

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