generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Why do localscripts not work in studio?

Previous Thread :: Next Thread 
UnusualDivinity is not online. UnusualDivinity
Joined: 15 Jun 2012
Total Posts: 291
17 Oct 2012 02:21 PM
I'm just wondering why as seeing, Test>Start Server>Start player. Is kind of annoying. Since its the only way to test localscripts.
Report Abuse
ThePC8110 is not online. ThePC8110
Joined: 04 Jun 2011
Total Posts: 486
17 Oct 2012 02:31 PM
Can't you put them in your backpack or startergui?
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
17 Oct 2012 02:32 PM
They do work in Studio? Or did I misunderstand.
Remember, it's done offline.
Report Abuse
UnusualDivinity is not online. UnusualDivinity
Joined: 15 Jun 2012
Total Posts: 291
17 Oct 2012 02:45 PM
They don't seem to execute in studio. I've tried print. Its not printing anything in output O_o.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
17 Oct 2012 03:17 PM
You are looking at the server output and the client output is hidden.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
17 Oct 2012 04:02 PM
What?
They run perfectly and completely.
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
17 Oct 2012 04:07 PM
ROBLOX logs the client side output, does it not?
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
17 Oct 2012 04:31 PM
Perhaps.
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
17 Oct 2012 04:42 PM
You can use ypcall to give you the error of the code, and then put that in a message in Workspace or something. There are lots of hackerish work-a-rounds for this.
Report Abuse
Aerideyn is not online. Aerideyn
Joined: 16 Jan 2010
Total Posts: 1882
17 Oct 2012 06:09 PM
Local scripts run on the client correct? so why would they be able to print to a server's log?
Local scripts work fine in Test -> play solo, the output will also work because the client is the server in that case.

As soon as you move it to start server -> add player. then you will have issues with print()
Report Abuse
NB4 is not online. NB4
Joined: 17 Oct 2011
Total Posts: 4
17 Oct 2012 06:25 PM
LocalScripts do not show in output.
- NB3's Alt
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
17 Oct 2012 07:47 PM
When using Play Solo, you are running of of your own client, so everything is local. This is why using print() in local scripts will work in Play Solo, because you are viewing the client output.

When using Start Server and Start Player, stuff is normal.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
17 Oct 2012 08:36 PM
%userprofile%/AppData/Local/Roblox/Logs for local output.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image