Is it possible to run script in studio without enabling Test or Play mode?

Hello. I’m making custom pathfinding system, and for it I should once generate giant pathfinding grid. Can I somehow run script without entering Test mode, probably with command bar?

1 Like

For a script to run in roblox, you MUST start/play the game.
If you want to play the game without your Character or Player Loading, just hit F8, or click on the arrow under the play button, and then hit “Run”
Screenshot (121)
(Clicking the “Run” button will only work with Scripts, and not LocalScripts)

Edit: You could probably generate a path, and then create a part at each “checkpoint” using the command bar though. Forgot that existed.

Yes you can just write your pathfinding grid generation thingy code, and copy paste it all into the command line. Pretty handy for when you need to do a repetitive task (like welding a bunch of parts) and it saves in studio.

There’s actually a way! In the models tab of the ribbon bar, you can find a somewhat obscure “Run Script” button. Any files with the .lua and .txt extensions will be ran as if you had typed them out in the command bar.

It’s more convenient than actually pasting it into the command bar!

10 Likes