Posts: 1,926
Threads: 133
Joined: Apr 2011
Reputation:
0
I might just know how to fix my weapons...
Posts: 5,683
Threads: 413
Joined: Aug 2012
Reputation:
0
In game, or in build?
In build it's the little Lua symbol. In game you'd need a chatscript. I could make one if you needed.
Posts: 1,926
Threads: 133
Joined: Apr 2011
Reputation:
0
No, in a script, so you could run another script.
eg. :remove(), :clone(), :play()
Posts: 5,683
Threads: 413
Joined: Aug 2012
Reputation:
0
The Source of a script isn't locked in Buildism like it is in ROBLOX.
local s = create("Script")
s.Source = [[
line1
line2
line3
line4
]]
Try something like that. I'm having issues loading the editor right now, but you may want to check the Rocket script by Jacob_ in the default place. I know for certain that the main script creates a working other script.
Posts: 1,926
Threads: 133
Joined: Apr 2011
Reputation:
0
I already have those in my script. It won't run the scripts the create within a script.
Posts: 124
Threads: 16
Joined: Feb 2011
Reputation:
0
04-29-2011, 11:39 AM
(This post was last modified: 04-29-2011, 11:46 AM by Noob.)
You need to change source of the created script before parenting it somewhere
a = create("Script")
a.Parent = game.World
a.Source = "print('lol')"
> Hello!
a = create("Script")
a.Source = "print('lol')"
a.Parent = game.World
> lol
EDIT:
And if you need to run existing script, just cut and paste it..
local Script = script.Parent.CutPasteScript
Script.Parent = nil
Script.Parent = script.Parent
![[Image: 76561198036192536.png]](http://badges.steamprofile.com/profile/extended/steam/76561198036192536.png)
![[Image: Ava2.gif]](http://i1179.photobucket.com/albums/x383/AntiBoomz/Ava2.gif)
AntiBoomz0r @ roblox,xfire
AntiBoomz @ minecraft
MiikaFTW @ steam
Posts: 1,926
Threads: 133
Joined: Apr 2011
Reputation:
0
I had to fix it in notepad....