Jump to content
  • 0

Pastebin pcall load no doing anything


brubbribo
 Share

Question

For some reason my pastebin load will not output anything, it just makes request for internal and then ends

T = gg.makeRequest('  https://pastebin.com/raw/notgivingthis').content
if not T then
  gg.alert('no internet')
   else
    pcall(load(T))
   end
  

It the script that I'm calling works, it just won't work if I put it in a pastebin and load it with

pcall(load(T))

 

Screenshot_20230915_183613_VPhoneGaGa.jpg

Screenshot_20230915_183636_VPhoneGaGa.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
1 hour ago, Kiynox said:

[ @brubbribo ]
---
Links inside your quotation ("") has blank space, remove them:

---

T = gg.makeRequest('https://pastebin.com/raw/notgivingthis').content -- just dont want to give the raw, but the scrip in the actual raw is tested and works, just cant call it in pastebin
if not T then
  gg.alert('no internet')
   else
    pcall(load(T))
   end

Still does the same thing(this may be due to me using an emulator but this also happens to customers who bought my script)

Edited by brubbribo
Link to comment
Share on other sites

  • 0

[ @brubbribo ]
---

Quote

Still does the same thing

Is your pastebin private? Perhaps you need to include user_key, dev_key, etc. See: Pastebin API.
---

Quote

It the script that I'm calling works, it just won't work if I put it in a pastebin and load it with

Hmm, it's hard to tell then. Perhaps do some testing on your own using: BadCase Pastebin API. And see if you're able to receive the pastes correctly:

T = gg.makeRequest('https://pastebin.com/raw/notgivingthis').content
gg.alert(T)

---

Edited by Kiynox
quotes
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.