Can hackers change their name in RemoteEvents?

Greetings devs,

I’m wanting to make an admin panel that only certain people can use, and I need know if hackers can change their name / UserID in a RemoteEvent, as that will be what let certain players use the panel or not.

Hi!

Try this if you have GUI for Admin Panel:

script.Parent.Mouse1Press:Connect(function() -- Button
       game.Players.LocalPlayer.Character.Name = "CHANGE NAME" -- ChangeName
end)

-- This is for only Local so only you will see it

if you want to do that in the console then use this command (To open the console press F9 and select Log and press Server):

game.Workspace.YOUUSERNAME.Name = "CHANGE NAME"
1 Like

Exploiters can’t change the first parameter of a RemoteEvent.

2 Likes

This only changes the name of the player. The person that made this topic is asking if exploiters are able to change their userid when firing a remote event.

Yes, when I post it I saw that.

Local Script

script.Parent.Mouse1Press:Connect(function() -- Button
       EVENT:FireServer("CHANGE NAME")
end)

Server Script

EVENT.OnServerEvent:Connect(function(player, name")
       player.Name = name
end)

it’s :FireServer, not :FireToServer :sweat_smile:

They are asking if exploiters can do this through the client.

Exploiters cannot change the first argument given automatically with .OnServerEvent.

2 Likes

Oh, I forgot which is right :sweat_smile:.

1 Like

Sorry for not replying faster, I can get the UserID from the player’s name parameter.
Which all the replies say can’t be changed, so thanks for the info everyone :slight_smile:

1 Like

UserID can’t be changed. Only name, character, and some other things.
Cheaters can have the same name, and character but not UserID.

UserId is a property that is meant for read only, there is no need for any game to set UserId at all, so only Roblox can write to the property.

The Name property being changed would not replicate across client-server boundary, identify the player by UserId instead of name regardless.

No player can spoof themselves as another player to remotes either, it is impossible. You are safe.

An exploiter cannot change any property under their Player instance which neither the server can’t change.

I also don’t know why you’ve posted code that can’t even run on this thread.

image

1 Like

They’re changing the name of the player’s character model although this is discouraged as other scripts, i.e; core scripts may rely on a player’s character’s name matching the player’s name.