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: PlayerGui Issues

Previous Thread :: Next Thread 
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
05 Jul 2014 01:22 PM
I have a relatively long LocalScript in some of my GUIs that involves a lot of events like MouseEnter, MouseLeave, MouseButton1Click, and when I enter Play Solo mode, all the events properly connect to the functions perfectly, but when I actually play my game, none of the events connect to the functions and nothing happens that is supposed to?

Any reason why, or just a roblox issue? (No output)
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
05 Jul 2014 01:23 PM
Where is the LocalScript located?.
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
05 Jul 2014 01:24 PM
Does anything else in the code require a localscript? Because MouseEnter, MouseButton1Down, etc. can be local.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
05 Jul 2014 01:32 PM
The LocalScript is located inside of a GUI in the StarterGui
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
05 Jul 2014 01:36 PM
I meant to say don't need to be local*
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
05 Jul 2014 01:37 PM
But they should work fine in local scripts correct?
Report Abuse
domorox17 is not online. domorox17
Joined: 06 Mar 2012
Total Posts: 1710
05 Jul 2014 01:39 PM
They should work, but I have never tried.
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
05 Jul 2014 01:41 PM
Could you show us some of the script?.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
05 Jul 2014 01:42 PM
I've realized with local scripts specifically for guis that errors rarely are shown in the output. It may have an error that you're not noticing. Find out where the line stops, or does it work at all?
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