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
 

"Cannot set Icon of a PlayerMouse" - Custom Cursor

Previous Thread :: Next Thread 
idontkno is not online. idontkno
Joined: 23 Dec 2007
Total Posts: 2345
06 Mar 2014 02:22 PM
If you read the posts on this thread, you would know why.

From earlier: "this actually doesn't work because as soon as any tool with a mouse icon is removed from the character, the mouse icon reverts back to the default mouse icon."
Report Abuse
Amexurous is not online. Amexurous
Joined: 28 Jan 2014
Total Posts: 324
06 Mar 2014 02:24 PM
That really happens?

Roblox, why do you make it so hard?
Report Abuse
idontkno is not online. idontkno
Joined: 23 Dec 2007
Total Posts: 2345
06 Mar 2014 02:26 PM
yep... both workarounds have their own problems.

Icons set from a tool disappear when tool is removed/no longer equipped

Icons set from a hopperbin work but there's no way to force a select on a hopperbin
Report Abuse
Amexurous is not online. Amexurous
Joined: 28 Jan 2014
Total Posts: 324
06 Mar 2014 02:30 PM
How about this sloppy work-around:

player = game.Players.LocalPlayer
game.StarterGui:SetCoreGuiEnabled(2, false)

game:GetService('RunService').RenderStepped:connect(function()
player.Character.Humanoid:EquipTool(toolthing)
end)

This would make the backpack gui disabled and make a constant equipping of the tool.
Report Abuse
idontkno is not online. idontkno
Joined: 23 Dec 2007
Total Posts: 2345
06 Mar 2014 02:46 PM
Hm... I didn't know you could disable coreguis like that... Learned something new.

Also, if the backpack gui is disabled, why do i need to constantly equip the tool? Equip it once and it will be in their character, controlling the icon, and they can't equip it or unequip it if their backpack gui is disabled, and not visible, right?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
06 Mar 2014 02:48 PM
I think so :3
Report Abuse
Amexurous is not online. Amexurous
Joined: 28 Jan 2014
Total Posts: 324
06 Mar 2014 02:50 PM
Not sure, you're probably right.
Report Abuse
idontkno is not online. idontkno
Joined: 23 Dec 2007
Total Posts: 2345
06 Mar 2014 03:32 PM
Yeah, no loop was required. Well, several workaround attempts later, it works...

Thanks man
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
07 Mar 2014 02:16 PM
Post the final script so we know how we could do it?
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
07 Mar 2014 02:22 PM
Turned off the backpack coregui
Made the tool not able to be dropped
Parented the tool to the character
That's how
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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