Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HttpService enabling doesn't work with plugins?

Asked by
Ap_inity 112
5 years ago

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

Log in to vote
1
Answered by 5 years ago

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

0
No no- I'm making a plugin, and I need HttpService enabled, but I'm making it so it turns on automatically. Ap_inity 112 — 5y
0
Then you can't do that. User#19524 175 — 5y
1
You can add some print function to remind users to turn it on for the plugin to work. User#19524 175 — 5y
0
Alright then ._. Ap_inity 112 — 5y
Ad

Answer this question