Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Useing http to make a local script?

Asked by 9 years ago

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?

0
The LinkedSource property, and loadstring for local scripts have been disabled in a previous update. M39a9am3R 3210 — 9y
0
There has to be a way because oxcool can do it xXUltraAltraXx 20 — 9y
0
Can you clarify what you're trying to do? I'm still a bit confused. DigitalVeer 1473 — 9y
0
Im trying to make a local script ingame via http service :l xXUltraAltraXx 20 — 9y

2 answers

Log in to vote
1
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
9 years ago

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.

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 xXUltraAltraXx 20 — 9y
Ad
Log in to vote
-3
Answered by 9 years ago

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

0
How do i do that if im not in studio? xXUltraAltraXx 20 — 9y
0
exactly! EpicStealth7 0 — 7y

Answer this question