|
| 09 Oct 2014 04:29 PM |
| I've been noticing that when you unequip tools, if your mouse had been changed by the tool, it doesn't reset back. Is there something new we have to add to our scripts to fix this or is this new ROBLOX bug? |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 09 Oct 2014 04:31 PM |
| Now that the mouse icon can be changed without the equipped event mouse, it no longer automatically goes back to normal and must be done manually with the unequipped event |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 09 Oct 2014 04:34 PM |
game.Players.Player:GetMouse().Icon = ""
Is normal roblox mouse
Interesting thing I just found out game.Players.Player:GetMouse().Icon = "nil" --Any invalid string will work
Makes it use the players normal mouse cursor |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 04:49 PM |
tool.Unequipped:connect(function() game.Players.LocalPlayer:GetMouse().Icon = "" end)
^ That didn't work. Do you know why? Is it because I'm using a local script? |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 09 Oct 2014 04:54 PM |
As it turns out "" is only the default mouse if its an invalid image from the command bar
I'll go find the default icon and post it |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 09 Oct 2014 05:01 PM |
Alright, turns out your right
It is a bug, if you do print(game.Players.LocalPlayer:GetMouse().Icon) after using the uneqipped function to change the mouse, it prints the correct image link despite what it shows. |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2014 05:03 PM |
| I guess I'll just wait till it's fixed. Thanks for the help. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 09 Oct 2014 05:37 PM |
I found a fix Don't use the mouse returned in the equipped function
script.Parent.Equipped:connect(function(mouse) game.Players.LocalPlayer:GetMouse().Icon = "rbxasset://textures/face.png" end) script.Parent.Unequipped:connect(function() game.Players.LocalPlayer:GetMouse().Icon = "" end) |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2014 06:08 PM |
| I remember hearing that PlayerMouse couldn't have the cursor changed. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 10 Oct 2014 06:09 PM |
@Jarod That recently was changed |
|
|
| Report Abuse |
|
|
| |
|