Still have questions? Join our Discord server and get real time help.
0

# What's wrong with this which is making it not work as I want it to work?

Edited 5 months ago

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.

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

Use https://paste.ee instead.