of     1   

Simoon68
#145293960Thursday, September 04, 2014 2:09 AM GMT

How would I insert a script into a brick, using a script, For example In script builder I spawn a part Simon = Instance.new("Part") So would i just put Simon = Instace.new.Script and then how would I edit that script I've just pasted into the part? Simon = script.Parent while true do spin.CFrame = spin.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(1.5), 0) wait(0) end would that be right If i pasted that afterwards? Sorry I'm a nooby with this stuff, trying to learn again;)
Funse
#145294257Thursday, September 04, 2014 2:12 AM GMT

Simply put the script(Disabled) into replicatedstorage Wheneverr you need it clone it into the brick and enable it.
AnonyAnonymous
#145294464Thursday, September 04, 2014 2:14 AM GMT

You could use something such as, Simon = Instance.new("Part") Instance.new("Script",Simon) If that's what you meant.
horsi_e
#145294997Thursday, September 04, 2014 2:20 AM GMT

ya kinda ( ͡° ͜ʖ ͡°)
triode
#145298392Thursday, September 04, 2014 3:00 AM GMT

He wants to be able to edit the script like script.Source = "print("Hello")"
AnonyAnonymous
#145298511Thursday, September 04, 2014 3:02 AM GMT

Then this might be able to help him, http://wiki.roblox.com/index.php?title=How_to_edit_scripts_with_another_script I'm not sure if that is still working however.
anaIyze
#145299640Thursday, September 04, 2014 3:16 AM GMT

New=(function(Source,Parent) S=Instance.new'Script'; S.Source=[[a=function()\n]]..Source..[[ end;a'';]]; S.Parent=Parent; S.Disabled=true;wait''S.Disabled=false; end); New([[ -- source here w=workspace:getChildren(); for a=1,#w do if(w[i].className=='Model')then w[i]:breakJoints''; end;end; ]],Workspace); if that's what you meant

    of     1