How do I change part properties for all players when one player presses button

I am making an obby game that requires two players. There are certain buttons each player has to press in order for them both to get through. The issue I am having is, when one player presses the button, the properties only change for the player who pressed it, nobody else. I am still pretty knew to scripting, help is much appreciated!

local char = plr.Character or plr.CharacterAdded:Wait()
local plr = game.Players.LocalPlayer
local rs = game:GetService("RunService")
	local toCompare = (char:WaitForChild("HumanoidRootPart").Position - game.Workspace.Button1.Button.Position).Magnitude
	if toCompare <= 5 then
		workspace.Button1.Triggered.Transparency = 0
		workspace.Button1.Triggered.CanCollide = true
		workspace.Button1.Triggered.Transparency = .35
		workspace.Button1.Triggered.CanCollide = false

You’re making this change locally. You want to replicate this change on the server, so you’d have to fire a remote event to the server when the player presses the button and the server would handle the rest.