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.

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.

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)
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.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.