Hi! I have this kind of a problem. I have an Event, which is reseting the Player's Data, but, the any guy with decompiler could just type someone else's nickname, so he's data gonna be deleted.
Here's my code:
game.ReplicatedStorage:WaitForChild("Events").RD.OnServerEvent:Connect(function(player)
player.leaderstats.Money.Value = 0
player.leaderstats.Snow.Value = 0
player.Stats.Tool.Value = "Shovel"
player.Stats.Capacity.Value = 200
player:Kick("Your data has been wiped!")
end)
If someone knows, how to secure, or if this actually does not works, and you can't wipe someone else's data (because i don't have any injector, and I don't know how this is work), please answer, i will appreciate any help! Thanks!
