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 |
|
|
|
| 05 Jul 2014 01:23 PM |
| Where is the LocalScript located?. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 05 Jul 2014 01:39 PM |
| They should work, but I have never tried. |
|
|
| Report Abuse |
|
|
|
| 05 Jul 2014 01:41 PM |
| Could you show us some of the script?. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|