I watched a video about OnClose()
and I saw that it was deprecated. But, I wonder if ther is a another way of doing the same thing. Can someone please tell me a least one way?
Putting this into a question so it can be closed.
http://wiki.roblox.com/index.php?title=API:Class/DataModel/BindToClose
game:BindToClose(function() --Do stuff end)
Credit to: M39a9am3R