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: :GetMouse() is not working online

Previous Thread :: Next Thread 
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
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
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
08 Mar 2014 01:33 PM
It works in test mode, but not online.
Report Abuse
gamehero is not online. 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
warriorqaz is not online. warriorqaz
Joined: 09 Oct 2009
Total Posts: 726
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
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
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 is not online. 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
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