|
| 08 Mar 2014 01:32 PM |
I've tried so many times to get it to work online, but it doesn't. It simply comes up as "attempt to index local mouse (a nil value) when it isn't. It is tagged in the beginning of the script as, player:GetMouse().
The script is located into Starterpack and is disabled until the main game script undisables it, which it does, but the script won't run.
player = script.Parent.Parent local mouse = player:GetMouse()
Can someone help? |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2014 01:33 PM |
| It works in test mode, but not online. |
|
|
| Report Abuse |
|
|
gamehero
|
  |
| Joined: 12 Jun 2007 |
| Total Posts: 1455 |
|
|
| 08 Mar 2014 01:34 PM |
| I don't think the problem is there. It's probably in the server script that tells it to enable it. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2014 01:35 PM |
| I honestly don't know the answer, but you could look in the script of a tool where they change the mouse icon. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2014 01:35 PM |
| I have a ROBLOX Dev output GUI that tells me info while it records it while playing online. I have a print function print if the disabling works successfully, and it says it does. It just doesn't tag mouse. |
|
|
| Report Abuse |
|
|
gamehero
|
  |
| Joined: 12 Jun 2007 |
| Total Posts: 1455 |
|
|
| 08 Mar 2014 01:42 PM |
Is it a LocalScript?
If not... All I can say is, you need to post more. The problem isn't where you say it is. We'd need to see more of this script, or where ever else you have mouse called. |
|
|
| Report Abuse |
|
|