Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I'm new to HttpService and I need help on a script. Why won't this work?

I'm new to httpservice, I have loadstring and httpenabled enabled. Inside of this pastebin, it's supposed to return a message but it doesn't. Can anyone help? The script is:

loadstring(game:GetService("HttpService"):GetASync('http://pastebin.com/raw/fHb1QprF', true))()

1 comment

0

I strongly recommend you do not enable loadstring for security reasons. It is always (to my limited knowledge) better to find a different way to accomplish your goal.

2 answers

That code should work. You probably need to make sure:

  • you have HTTP requests enabled

  • LoadstringEnabled is enabled

  • you're not trying to execute that in a LocalScript

This discussion is preserved as it was. New answers, comments, and votes are closed.