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

Unable to combine a string with HttpService:GetAsync(), Any help?

Asked by 4 years ago

So I'm trying to combine a string with HttpService:GetAsync but I keep getting an error saying unable to call a nil value Here is my code:

loadstring("local owner = game.Players.Trading_Opportunity"..game:GetService("HttpService"):GetAsync("https://pastebin.com/raw/oJSIOJiosjOIJS") -- note that i have loadstring enabled, http requests enabled and the link is not actually that i just made it like that for reasons

Any help appreciated, Thanks!

0
Is it a serverscript or a localscript? spicychilly2 145 — 4y
0
ServerScript Trading_Opportunity 191 — 4y

Answer this question