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

Useing http to make a local script?

Ok so i know how to make a regular script with http

http = game:GetService("HttpService")
url = "Example.com"
loadstring(http:GetAsync(url))()

But how would i get it to make a local script? perhaps LinkedSource?

4 comments

0

The LinkedSource property, and loadstring for local scripts have been disabled in a previous update.

0

There has to be a way because oxcool can do it

0

Can you clarify what you're trying to do? I'm still a bit confused.

0

Im trying to make a local script ingame via http service :l

2 answers

LinkedSource requires the source be from a safe place on ROBLOX -- so you won't be able to use it to load random scripts.

You cannot use loadstring nor :GetAsync with HttpService in a LocalScript.


The most straightforward way to manage this would be to write a strong API in a LocalScript, and using RemoteEvents and RemoteFunctions, communicating with a server's Script that loaded the necessary information.


What are you trying to do this for, though? Loading scripts like this is rarely good / necessary.

1 comment

0

Well I came by a identity changer only problem is its local :l so i wanted to find a way to do some level 7 scripting ingame and the game has http and loadstring enabled :l

You can load scripts from pastebin by using this:

p = pasteidhere
HttpService:GetAsync("http://pastebin.com/raw.php?i=)+p)()

This should work by inserting this code into a localscript

2 comments

0

How do i do that if im not in studio?

0

exactly!

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