So i want to use this pastebin stuff in a script but i dont know how to… can anyone explain?
btw the URL is https://pastebin.com/raw/aji7k9Xd
-btw super sorry for how confusing this might be, butits really hard for me to explain
So if you have any Questions then please ask in the comments
1 Like
All you have to do is create a new Script
instance, and paste the code in there. It will run when you press play, and should make a part named “Baseplate” transparent.
yeah, i get that. but im just really trying to learn how to use pastebin’s for scripts.
heII_ish
(heII_ish)
May 10, 2021, 3:34am
#4
Send a GET request to the link with HttpService and then loadstring the body of the response
Loadstring only works on the server unless you want to use a custom interpreter
would i do it like this?
game:GetService('HttpService'):GetAsync("https://pastebin.com/raw/aji7k9Xd", true)
1 Like
heII_ish
(heII_ish)
May 10, 2021, 3:46am
#6
You need to store the response in a variable and then loadstring whatever is inside the variable
Sorry but i dont understand… could u write like an example or something…
or maybe u have an example of what ur talking about?
heII_ish
(heII_ish)
May 10, 2021, 3:48am
#8
local response = game:GetService('HttpService'):GetAsync("https://pastebin.com/raw/aji7k9Xd")
loadstring(response)()
2 Likes
Thanks you!!!
you helped me out alot
2 Likes