So i made this MouseButton1Click (GUI) script.
local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
local model = game.Workspace[Player.Name]
local children = model:GetDescendants()
for i , v in pairs(children) do
if v:IsA("BasePart") then
v.Color = Color3.new(0.235294, 0.898039, 1)
game.Workspace[Player.name].Chest1.Eye.Color = Color3.new(0, 0, 0)
game.Workspace[Player.name].Chest1.FaceMask1.Color = Color3.new(1, 1, 1)
game.Workspace[Player.name].Chest1.FaceMask2.Color = Color3.new(1, 1, 1)
end
end
end)
And it would change the character's color, but it would show up THE CHANGES for the player that clicked the button.

4 comments
localscripts dont affect the server, they only change stuff on your screen. use a remote event connected to a server script
^ this and also id recommend checking out https://developer.roblox.com/en-us/articles/Roblox-Client-Server-Model
Bryce, but how? I'm just a beginner.
Think of the meaning of "local". A LocalScript runs in a domestic environment; the program is executed on your device through the ROBLOX Player Application, rather than on a Server.