Best way to prevent exploiters from changing others Humanoid Display Name property?

Title explains itself pretty much but for more context.

Exploiters can change the humanoid.DisplayName property of others
obviously the changes will only appear on the client but it can still be used to frame other players which is a big issue. I have a few solutions in mind but I feel like there are better options out there.

First devforum post :slight_smile:

3 Likes

Just check when a player joins the game, store their current display name in a local variable, and if it’s changed, set it to the variable. Make sure the script is in a normal script, inside of Workspace. :smiley: Script if needed:

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(character)
        local displayName = character.Humanoid.DisplayName
        character.Humanoid:GetPropertyChangedSignal("DisplayName"):Connect(function()
            character.Humanoid.DisplayName = displayName
        end)
    end)
end)
1 Like

Thank you so much :slightly_smiling_face:
appreciate it.

1 Like

I didn’t realize before but that actually wont work.
that will only check for changes on the server when the issue is that exploiters are able to change it on the client.

It may work as a local script though.

Edit: It wont work as a local script as exploiters can mess with those too.

1 Like

Whats the problem with client side changes?

If the client changed the name on the client then it doesn’t effect other people.

1 Like

Well if an exploiter changes it on their client they can use it to frame other players by recording.

Example would be:
2 exploiters named Bob and Jim hate an innocent player named Ronald
Bob decides to change Jim’s Display Name to look like Ronald’s
Jim then starts exploiting and Bob starts recording.

Innocent Ronald is now banned as a video has surfaced of him exploiting, but it was not him.

1 Like

There is no way to prevent the client from changing display names, even if you did have a localscript to check for the change, exploiters can just delete the localscript if they wanted to.

2 Likes

Could an exploiter actually remove whats inside a localscript? Or only the actual script itself.

because I can easily prevent that using the .ChildRemoved event.

They don’t have to remove it, they can just stop the code. Just assume that exploiters can do absolutely whatever they want with client sided stuff

2 Likes

I’m not sure if this will work 100% of the time, but Try creating a report system in game that submits a chat log of players to something like discord, then require players to say in the video description the time that they reported someone, and reference the chat log with the video. If the chat log and what the player says in the video don’t add up, then you know who to ban.

1 Like

Yikes. I mean surely there has to be some type of workaround for exploiters framing other players.
if there wasn’t I feel like it would be very much abused in a lot of big games.

The best solution is to probably just have stricter exploiter report requirements, such as needing to show the player’s name on the leaderboard/playerlist

1 Like

thats a smart solution but what if the person decides not to chat.

really? I get your point but this never happens. There is literally nothing you can do.

1 Like

it could simply be abused the same way but the player just has to be in the same server.

Anything on the client can be exploited past just deleting a local script.

1 Like

What kind of game is this for? Military Roleplay? City Roleplay? FPS?

1 Like

you can probably also make a trust system, whenever someone does something suspicious (walkspeed, noclip, etc) you can mark them, and if you also happen to receive reports on that player then you can be pretty sure that they are exploiting.

when red is sus

1 Like

A hardcore survival game where dying results in loss of stuff so I can’t really sleep on exploiters.

Well, you can narrow down the exploiters to just PC players. And a leave and join log would be useful, or you could require more than one account of the exploit before banning someone, just don’t tell them that it requires two different accounts with different videos. But honestly, its not all that common framing other people for exploiters.

1 Like