It's a LocalScript:
script.Parent.MouseButton1Click:connect(function()
local Player = game.Players.LocalPlayer
local Valores = workspace.Valores
Player.PlayerGui.Gui1.Frame:WaitForChild("cor").BackgroundColor3 = Valores.ColorValue.Value
Player.PlayerGui.Gui1.Frame.TextLabel.Text = Valores.TextValue.Value
Valores.ColorValue.Value = Color3.new(0, 170, 0)
Valores.TextValue.Value = "Pista liberada!"
end)

3 comments
That will be a bit harder than you think... Easy to explaain though, remote functions and pcall
explain*
Use a remote function and :FireAllClients()