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.
Pastebin sometimes won't work from what I was told was an anti-bot system. So instead of the expected text, you will get HTML code instead. So you can't fix it, it's on PB's end.