Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to get rid of a Service?

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?

1 comment

0

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

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.