Check this out. BodyColors | Roblox Creator Documentation If you are doing this locally, you will have to fire a remote event to the server, THEN change the body colors in the OnServerEvent , so that his body color updates for everyone, unless it is automatically updated, I do not know if it is.
Ive Created A simple button that changes a players body colors to the assigned brickcolor. I am not the best at changing character proporties, but it does change the brickcolor atleast. Here is the code;
For the gui button local script it is;
local Bttn = script.Parent
local RepStorage = game:WaitForChild("ReplicatedStorage")
local ClrEvent = RepStorage.ColorEvent
Bttn.Activated:Connect(function()
ClrEvent:FireServer()
end)
You will need a remote event, It can be named anything, in this case, I called it ColorEvent
For the server script;
local RepStorage = game:WaitForChild("ReplicatedStorage")
local ClrEvent = RepStorage.ColorEvent
ClrEvent.OnServerEvent:Connect(function(plr)
local char = plr.Character
print(char.Name)
for _, v in pairs(char:GetChildren()) do
if v:IsA("BasePart") then
v.BrickColor = BrickColor.new("") -- BrickColor You want goes here
end
end
end)