Hey Developers!
Recently, there have been concerns regarding exploiters banning developers. I have done research on this issue with others and have discovered a method to patch the most popular exploit going around. It should be noted that this exploit has been present since 2019, and I have previously reported it but it went unaddressed.
I am unable to disclose the specifics of the exploit or the individuals responsible for it on this forum, as my post may be removed. However, I am able to provide a solution to prevent it.
The script provided below can effectively combat a significant portion of exploiters by automatically respawning a character when their health is set to 0. This is necessary as the exploit in question prevents players from respawning on the client side.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
humanoid.Changed:Connect(function(h)
if h == "Health" and humanoid.Health <= 1 then
player:LoadCharacter()
end
end)
end)
end)
Sadly there are two ways for exploiters to bypass this script, which I cannot publicly mention how to patch or Roblox again will delete this post and these issues can only be addressed by Roblox themselves probably. I hope this information is useful to those who don’t want to risk their account to get terminated.