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

What am I doing wrong on this?

Asked by 9 years ago

Ok so I have been trying to do Edit Scripts with Other Scripts and I have followed the instructions for it, But for this line of coding. ~~~~~~~~~~~~~~~~~ function run(code) clone = workspace.RunScript:Clone() clone.Parent = workspace clone.Name = "CodeGo" clone["Source"].Value = code clone.Disabled = false end

run([[Hello World!]])

the first "code" letter is a error,  I tried to fix it but nothing changed. Her is the other Script. Don't worry about this one though, it is fine, I just showed it so you know what im doing. 

source = script.Parent:FindFirstChild("Source") if source then loadstring(source.Value)() end ~~~~~~~~~~~~~~~~~ There is a String called Source in it^

Answer this question