I need help changing the value of something something for everyone (Server Side), using a local script

I need help changing the value of something something for everyone (Server Side), using a local script.

  1. I want to change the value of an Object value to a players name using a local script.

  2. I do not know how I can change it on the server side, with a local script.

			elseif L_266_ == true then -- If the block touched is part of a player
L_254_.Parent:WaitForChild("Hitby").Value = L_2_ -- I want this to show on server side
				L_254_.Parent:WaitForChild("Damaged"):Fire()
			end
		end

Supposedly, RemoteEvents can achieve that as well. And also, please give more context on the situation.

1 Like

I agree with @PhoenixRessusection. I’m 99% sure there’s not a way to send the server information besides high-level explotation. This is basically so average people can’t change what the server wants to do with the game. As Phoenix said, I would recommend RemoteEvents.

1 Like

I deleted some of the extra stuff. I just want the object value to show on the server side.

Create it on the server. Once again, you can achieve this by using RemoteEvents.

1 Like

Is their a way to know what script is Firing the RemoteEvent?
where the script is
the properties of the script
???

If you want to know that from the script where you fire the remote event (Local Script.), the player should be Players.LocalPlayer. If you want to know it from the script which has the event binded (Server Script), the first argument should be the player.

1 Like

I was a newbie scripter when I posted this, Remote events are the solution (Arguments).