ive been trying to use events for a few weeks now and i cant seem to crack it. ive been working on this character customisation GUI and it seems that the only thing holding me back is the events and i cant seem to figure out where to start. do i use fireservers or what? , it works by adding values from a > or < button on the gui (if you was wondering) - heres the script
local skin = script.Parent.Value.Value
local player = game.Players.LocalPlayer
while true do
wait (0.1)
if skin == 1 then brickcolor = ("Pastel brown") end
if skin == 2 then brickcolor = ("Nougat") end
if skin == 3 then brickcolor = ("Dirt brown") end
if skin == 4 then brickcolor = ("Tawny") end
if player:FindFirstChild("Body Colors") then
local bodyColors = player.Character:WaitForChild("Body Colors")
bodyColors.Name = "Body Colors"
bodyColors.HeadColor = BrickColor.new(brickcolor)
bodyColors.LeftFootColor = BrickColor.new(brickcolor)
bodyColors.LeftHandColor = BrickColor.new(brickcolor)
bodyColors.LeftLowerArmColor = BrickColor.new(brickcolor)
bodyColors.LeftLowerLegCoolor = BrickColor.new(brickcolor)
bodyColors.LeftUpperArmColor = BrickColor.new(brickcolor)
bodyColors.LeftUpperLegColor = BrickColor.new(brickcolor)
bodyColors.LowerTorsoColor = BrickColor.new(brickcolor)
bodyColors.RightFootColor = BrickColor.new(brickcolor)
bodyColors.RightHandColor = BrickColor.new(brickcolor)
bodyColors.RightLowerArmColor = BrickColor.new(brickcolor)
bodyColors.RightLowerLegColor= BrickColor.new(brickcolor)
bodyColors.RightUpperArmColor = BrickColor.new(brickcolor)
bodyColors.UpperTorsoColor = BrickColor.new(brickcolor)
end
end
