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

HttpService enabling doesn't work with plugins?

Unsure if what I'm doing is wrong, but everytime I try to enable HttpService from a plugin, it errors out as: The current identity (5) cannot HttpEnabled (lacking permission 3)

Is this what I'm doing, or is this Roblox?

Code:

-- I won't show you everything, just the part.
if game:GetService("HttpService").HttpEnabled == false then -- Errors out here
	game:GetService("HttpService").HttpEnabled = true
	notifEvents.HttpService:Fire()
end

1 answer

✓ Accepted answer

###HttpEnabled cannot be modified from a script. In studio, go to HOME, Game Settings, Allow HTTP requests, set to true.

4 comments

0

No no- I'm making a plugin, and I need HttpService enabled, but I'm making it so it turns on automatically.

0

Then you can't do that.

1

You can add some print function to remind users to turn it on for the plugin to work.

0

Alright then ._.

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