2DWorlds Forums
How do you run your script in the editor - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Help (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=21)
+--- Thread: How do you run your script in the editor (/showthread.php?tid=2317)



How do you run your script in the editor - toast - 04-06-2011

I made a script that prints "ohai" and pressing the play button doesn't do anything and starting a player doesn't do anything... Help?


RE: How do you run your script in the editor - Eric - 04-06-2011

You might have done something wrong in the script.


RE: How do you run your script in the editor - toast - 04-06-2011

Dude... I know Lua, I've been using it for years on ROBLOX. I don't think anything's wrong with
[lua]print("OHAI")[/lua]



RE: How do you run your script in the editor - Login - 04-06-2011

[lua]game.World.print("Ohai")[/lua]

maybe?


RE: How do you run your script in the editor - Rare - 04-06-2011

Yeah how do you!? Ive tried.


RE: How do you run your script in the editor - Jacob__mybb_import1 - 04-06-2011

Cut and paste the script, or right click it and click Run Script.