You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to clone the players appearance locally to a dummy so only they can see it. -
What is the issue? Include screenshots / videos if possible!
So far I have it to where the dummy gets cloned and gets its appearance “applied” serversided. Then I have a localscript that moves said dummy onto the screen. But the problem is that the dummy does not get its appearance applied to it, all that happens is a black humanoid gets placed into the spot that I want.
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I started completely local and have found that that does not work, I’ve been looking around developer hub trying to find a solution but can’t seem to find one.
Heres the serverscript:
game.Players.PlayerAdded:Connect(function(plr)
--{-2132.575, 330.4, 12228.333}, {0, -45, 0}
local player = game.Players.LocalPlayer
-- local id = player.UserId
--local character = player.Character or player.CharacterAdded:Wait()
plr.CharacterAdded:Connect(function(character)
local Appearance = character.Humanoid:GetAppliedDescription()
print("cloning")
local dum = game.ReplicatedStorage.character:Clone()
print("cloned")
print("parenting")
dum.Parent = workspace
print("parented")
print("naming")
dum.Name = plr.Name.."'s dummy"
print("Named")
print("loading appearance")
dum.Humanoid:ApplyDescription(Appearance)
print("appearance applied")
game.ReplicatedStorage.Events.appearance:FireClient(plr, dum)
end)
end)
And heres the localscript:
local player = game:GetService("Players").LocalPlayer
local pos = workspace.charspot.CFrame
game.ReplicatedStorage.Events.appearance.OnClientEvent:Connect(function(dum)
dum:Clone()
dum.Torso.CFrame = pos
end)