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
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: LocalScripts vs Scripts

Previous Thread :: Next Thread 
RawrBot is not online. RawrBot
Joined: 22 Aug 2008
Total Posts: 832
11 Jul 2012 07:55 PM
I know LocalScripts can do things that normal scripts can't, like accessing the Camera and Mouse.

The question is:
Are there things that normal scripts can do that LocalScripts can't?
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
11 Jul 2012 07:56 PM
[ Content Deleted ]
Report Abuse
RawrBot is not online. RawrBot
Joined: 22 Aug 2008
Total Posts: 832
11 Jul 2012 08:01 PM
You know, like sensing mouse clicks, mouse positions, etc.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
11 Jul 2012 08:03 PM
[ Content Deleted ]
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
11 Jul 2012 08:03 PM
The defining difference:

Localscripts run on the client (a user's computer)
Scripts run on the server (Roblox's "central" computer)

And all that implies (Camera; Mouse obviously only make sense on the user's computer but being the main scripts of the place only makes sense on Roblox's computer)
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
11 Jul 2012 08:06 PM
As for things that localscripts can't do:

1) Award badges
2) Use Data Persistence.

For example.
Report Abuse
RawrBot is not online. RawrBot
Joined: 22 Aug 2008
Total Posts: 832
11 Jul 2012 08:07 PM
Ah, I see.
Report Abuse
RawrBot is not online. RawrBot
Joined: 22 Aug 2008
Total Posts: 832
11 Jul 2012 08:08 PM
@Trioxide You can just wiki it.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
11 Jul 2012 08:19 PM
[ Content Deleted ]
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
11 Jul 2012 08:19 PM
Use a tool/hopperbin's equipped/selected event.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
11 Jul 2012 08:23 PM
[ Content Deleted ]
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
11 Jul 2012 08:24 PM
You have to have a LocalScript within the tool/hopperbin in order to get the Mouse and use various events with said mouse.
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
11 Jul 2012 08:25 PM
http://wiki.roblox.com/index.php/RBX.lua.Mouse_(Object)
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
11 Jul 2012 08:25 PM
[ Content Deleted ]
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
11 Jul 2012 08:26 PM
You need a LocalScript to do that as it won't work with normal Scripts...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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