local plrs,rs = game:GetService("Players"),game:GetService("ReplicatedStorage")
local rig = Enum.HumanoidRigType.R6 -- change if u want r15
local who = '1954' -- autocomplete, display name support
local guy
for _, p in plrs:GetPlayers() do
local sub = who:lower()
if p.Name:lower():sub(1, #who) == sub or
p.DisplayName:lower():sub(1, #who) == sub then
guy = p
break
end
end
local desc = guy.Character.Humanoid:GetAppliedDescription()
local wear = {{
["Properties"] = {
["WalkAnimation"] = desc.WalkAnimation,
["MoodAnimation"] = desc.MoodAnimation,
["Face"] = desc.Face,
["ProportionScale"] = desc.ProportionScale,
["ClimbAnimation"] = desc.ClimbAnimation,
["Shirt"] = desc.Shirt,
["FaceAccessory"] = desc.FaceAccessory,
["RightArmColor"] = {r = math.floor(desc.RightArmColor.R * 255), g = math.floor(desc.RightArmColor.G * 255), b = math.floor(desc.RightArmColor.B * 255), IsRGBTable = true},
["HairAccessory"] = desc.HairAccessory,
["RightArm"] = desc.RightArm,
["Head"] = desc.Head,
["FallAnimation"] = desc.FallAnimation,
["TorsoColor"] = {r = math.floor(desc.TorsoColor.R * 255), g = math.floor(desc.TorsoColor.G * 255), b = math.floor(desc.TorsoColor.B * 255), IsRGBTable = true},
["DepthScale"] = desc.DepthScale,
["LeftArm"] = desc.LeftArm,
["HeightScale"] = desc.HeightScale,
["LeftLeg"] = desc.LeftLeg,
["RightLegColor"] = {r = math.floor(desc.RightLegColor.R * 255), g = math.floor(desc.RightLegColor.G * 255), b = math.floor(desc.RightLegColor.B * 255), IsRGBTable = true},
["LeftLegColor"] = {r = math.floor(desc.LeftLegColor.R * 255), g = math.floor(desc.LeftLegColor.G * 255), b = math.floor(desc.LeftLegColor.B * 255), IsRGBTable = true},
["WidthScale"] = desc.WidthScale,
["BodyTypeScale"] = desc.BodyTypeScale,
["RunAnimation"] = desc.RunAnimation,
["LeftArmColor"] = {r = math.floor(desc.LeftArmColor.R * 255), g = math.floor(desc.LeftArmColor.G * 255), b = math.floor(desc.LeftArmColor.B * 255), IsRGBTable = true},
["Pants"] = desc.Pants,
["WaistAccessory"] = desc.WaistAccessory,
["LayeredAccessories"] = {},
["AccessoryRefinements"] = {},
["ShouldersAccessory"] = desc.ShouldersAccessory,
["NeckAccessory"] = desc.NeckAccessory,
["HatAccessory"] = desc.HatAccessory,
["FrontAccessory"] = desc.FrontAccessory,
["SwimAnimation"] = desc.SwimAnimation,
["HeadColor"] = {r = math.floor(desc.HeadColor.R * 255), g = math.floor(desc.HeadColor.G * 255), b = math.floor(desc.HeadColor.B * 255), IsRGBTable = true},
["BackAccessory"] = desc.BackAccessory,
["IdleAnimation"] = desc.IdleAnimation,
["Torso"] = desc.Torso,
["HeadScale"] = desc.HeadScale,
["JumpAnimation"] = desc.JumpAnimation,
["GraphicTShirt"] = desc.GraphicTShirt,
["RightLeg"] = desc.RightLeg
},
["Action"] = "CreateAndWearHumanoidDescription",
["RigType"] = rig
}}
rs.CatalogGuiRemote:InvokeServer(unpack(wear)) -- wear
rs.Events.SavedOutfitsRemote:InvokeServer({
OutfitName = "Saved-Fit",
Configs = {},
Action = "CreateNewOutfit"}) -- saveAvatar copier & saver without gui and open source
No comments yet. Be the first to comment!
1local plrs,rs = game:GetService("Players"),game:GetService("ReplicatedStorage")
2
3local rig = Enum.HumanoidRigType.R6 -- change if u want r15
4
5local who = '1954' -- autocomplete, display name support
6
7local guy
8
9for _, p in plrs:GetPlayers() do
10 local sub = who:lower()
11 if p.Name:lower():sub(1, #who) == sub or
12 p.DisplayName:lower():sub(1, #who) == sub then
13 guy = p
14 break
15 end
16end
17
18local desc = guy.Character.Humanoid:GetAppliedDescription()
19
20local wear = {{
21 ["Properties"] = {
22 ["WalkAnimation"] = desc.WalkAnimation,
23 ["MoodAnimation"] = desc.MoodAnimation,
24 ["Face"] = desc.Face,
25 ["ProportionScale"] = desc.ProportionScale,
26 ["ClimbAnimation"] = desc.ClimbAnimation,
27 ["Shirt"] = desc.Shirt,
28 ["FaceAccessory"] = desc.FaceAccessory,
29 ["RightArmColor"] = {r = math.floor(desc.RightArmColor.R * 255), g = math.floor(desc.RightArmColor.G * 255), b = math.floor(desc.RightArmColor.B * 255), IsRGBTable = true},
30 ["HairAccessory"] = desc.HairAccessory,
31 ["RightArm"] = desc.RightArm,
32 ["Head"] = desc.Head,
33 ["FallAnimation"] = desc.FallAnimation,
34 ["TorsoColor"] = {r = math.floor(desc.TorsoColor.R * 255), g = math.floor(desc.TorsoColor.G * 255), b = math.floor(desc.TorsoColor.B * 255), IsRGBTable = true},
35 ["DepthScale"] = desc.DepthScale,
36 ["LeftArm"] = desc.LeftArm,
37 ["HeightScale"] = desc.HeightScale,
38 ["LeftLeg"] = desc.LeftLeg,
39 ["RightLegColor"] = {r = math.floor(desc.RightLegColor.R * 255), g = math.floor(desc.RightLegColor.G * 255), b = math.floor(desc.RightLegColor.B * 255), IsRGBTable = true},
40 ["LeftLegColor"] = {r = math.floor(desc.LeftLegColor.R * 255), g = math.floor(desc.LeftLegColor.G * 255), b = math.floor(desc.LeftLegColor.B * 255), IsRGBTable = true},
41 ["WidthScale"] = desc.WidthScale,
42 ["BodyTypeScale"] = desc.BodyTypeScale,
43 ["RunAnimation"] = desc.RunAnimation,
44 ["LeftArmColor"] = {r = math.floor(desc.LeftArmColor.R * 255), g = math.floor(desc.LeftArmColor.G * 255), b = math.floor(desc.LeftArmColor.B * 255), IsRGBTable = true},
45 ["Pants"] = desc.Pants,
46 ["WaistAccessory"] = desc.WaistAccessory,
47 ["LayeredAccessories"] = {},
48 ["AccessoryRefinements"] = {},
49 ["ShouldersAccessory"] = desc.ShouldersAccessory,
50 ["NeckAccessory"] = desc.NeckAccessory,
51 ["HatAccessory"] = desc.HatAccessory,
52 ["FrontAccessory"] = desc.FrontAccessory,
53 ["SwimAnimation"] = desc.SwimAnimation,
54 ["HeadColor"] = {r = math.floor(desc.HeadColor.R * 255), g = math.floor(desc.HeadColor.G * 255), b = math.floor(desc.HeadColor.B * 255), IsRGBTable = true},
55 ["BackAccessory"] = desc.BackAccessory,
56 ["IdleAnimation"] = desc.IdleAnimation,
57 ["Torso"] = desc.Torso,
58 ["HeadScale"] = desc.HeadScale,
59 ["JumpAnimation"] = desc.JumpAnimation,
60 ["GraphicTShirt"] = desc.GraphicTShirt,
61 ["RightLeg"] = desc.RightLeg
62 },
63 ["Action"] = "CreateAndWearHumanoidDescription",
64 ["RigType"] = rig
65}}
66
67rs.CatalogGuiRemote:InvokeServer(unpack(wear)) -- wear
68
69rs.Events.SavedOutfitsRemote:InvokeServer({
70 OutfitName = "Saved-Fit",
71 Configs = {},
72 Action = "CreateNewOutfit"}) -- save