Roblox blocks PlayerDisconnecting for some reason which opens up an exploit in games which have a donate system. So is there a method which would basically be just like PlayerDisconnecting.
The current identity (2) cannot PlayerDisconnecting (lacking permission 3)
Is i load a module from my models would the security of the module be increased to allow this since you can use the bar to detect PlayerDisconnecting?
Try using the Player removing event. http://wiki.roblox.com/index.php?title=API:Class/Players/PlayerRemoving game.Players.PlayerRemoving:Connect(function())
end)
There's something I stumbled upon called Players.PlayerDisconnecting
link to it is right here.