Answered by
7 years ago Edited 7 years ago
To run a server script from a pastebin url, you can use HttpService:GetAsync() and loadstring()
2 | local content = game:GetService( "HttpService" ):GetAsync(url, true ) |
3 | local f,e = loadstring (content) |
7 | warn( "Syntax error:" ,e) |
However, in order to run a custom LocalScript at runtime, you can't use loadstring()
What Void SB does is they made an API which uses an alt account on roblox and makes it upload the LocalScript with the specified source as a model, which is then loaded via require()
(or InsertService:LoadAssetVersion()
, not sure, would have to ask tusk) and ran on the player.
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?