Jump to content
  • 0

Pastebin pcall load no doing anything


brubbribo

Question

Posted

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

3 answers to this question

Recommended Posts

Posted
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)

Posted

[ @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)

---

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.