It's not like cloning the entire player but making an NPC wear hats and clothes just like the player (at the start, it will just be a naked blocky NPC, but when triggered by something, it will become a replica of the player)
Things like body colors and clothes is easy, but making the copying the accessories and positioning them is hard
script.Parent.ClickDetector.MouseClick:Connect(function(plr) if game:GetService("ServerStorage").Players:FindFirstChild(tostring(plr)) == nil then plr.Character.Archivable = true local plrf = game.Workspace[tostring(plr)]:Clone() plrf.Parent = game.Workspace.p1 plrf.Torso.Anchored = true plrf:SetPrimaryPartCFrame(CFrame.new(script.Parent.Parent.Head.Position)) plrf.Name = "" local PlrFold = Instance.new("StringValue") PlrFold.Name = plr.Name PlrFold.Parent = game:GetService("ServerStorage").Players for index, child in pairs(script.Parent.Parent:GetChildren()) do if child:IsA("BasePart") then child.Transparency = 1 child.CanCollide = false end end end end)
I'd recommend just duplicating the player in Workspace
local player = game.Workspace.JusticeOfScarlet:Clone() --My username as an example, copied into local variable player.Parent = game.Workspace -- Sets the parent of clone to workspace player.Name = "Clone" -- Sets name to "Clone" so it isn't confused with the actual player
Just clone yourself man!
game.Players.PlayerAdded:connect(function(plr) -- When player joins in local mannequin = plr.Character:Clone() -- Clones the players avatar mannequin.PrimaryPart.CFrame = CFrame.new(0, 0, 0) -- Change the position you want the mannequin to be end)
Btw I'm a 11yo helping whatever age you are. xD Also paste it in a script and put it in serverscriptservice or just the workspace