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

What did i do wrong for http to get and print instagram info?

Asked by 5 years ago

I'm trying to figure out and it keeps saying that 15:59:17.804 - Workspace.Script:5: attempt to index local 'http' (a boolean value) in the output

local http = game.HttpService
http = true
local url = "https://www.instagram.com"
local data = '/Noob/'
url = url .. http:UrlEncode(data)
local saliv = http:GetAsync(url, false)
print(saliv)
print(url)





0
line 1 and 2 ? User#5423 17 — 5y
0
local http = game:GetService("HttpService") Astralyst 389 — 5y
0
remove line2, httpservice isn't a bool value Astralyst 389 — 5y

Answer this question