I've been trying to find out why this isn't working it's a very basic check yet it doesn't seem to work it just says that it's false when I want it to be true.
local URL = "https://pastebin.com/raw/[Hidden]"
local PastebinText = game:GetService("HttpService"):GetAsync(URL, true)
if PastebinText == "Maintenance_Mode = true" then
script.Parent.Settings.Maintenance_Mode.Value = true
else
script.Parent.Settings.Maintenance_Mode.Value = false
end
I'm using this in a Plugin just as a better description on what I'm using this for.

5 comments
Is your paste in JSON syntax?
It's set to Syntax none
since your post is a private post, you're going to need to use a token to log in
I'll switch it to unlisted and then see if the script can read it
Okay it works royaltoe post in the awnser so I can select yours as awnsered thanks.