You can't prevent this, which is why you shouldn't give your events the power to change anything meaning full.
Say that you have a tycoon with FE disabled. You can have the player upgrade their tycoon by pressing a GUI button. This is easily hack-able (is that a word?).
If you turn on FE, that doesn't guarantee a fix. What if you have a RE like this:
--local script
upgrade.MouseButton1Click:connect(function()
if money > amount then
money = money - amount
guiEvent:FireServer()
end
end)
--server script
guiEvent.Event:connect(function(player)
upgradeTycoon()
end)
Do you see the problem here?
|