I know that you can get a service by using the GetService method, but how do I get rid of it? I'm pretty sure you can't just use the remove or destroy method as it would error. Is there some method that I don't know about? Any tips?
✓ ANSWER ACCEPTED
Is there a way to get rid of a Service?
3 answers
✓ Accepted answer
Services are not the same as Objects. They are libraries that are built-in to ROBLOX's RBX.Lua API. You don't have to use a Service if you don't want to, but you can't delete it. That'd be like asking how to remove a part of a Swiss Army Knife - you really can't without breaking the whole thing.
You cannot remove/destroy a ROBLOX service.
I don't believe you can remove a ROBLOX service.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
game = {} game.GetService = function() return false end print(game:GetService("Players")) easy