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!

2 comments

0

Is it a serverscript or a localscript?

0

ServerScript