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 » Scripters
Home Search
 

Re: How To: Change Cursor?

Previous Thread :: Next Thread 
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:07 AM
How does one change a player's starting cursor? For example, change the mouse cursor into a dot cursor.

~MightyDantheman
Report Abuse
SpookyStore is not online. SpookyStore
Joined: 07 Feb 2012
Total Posts: 8288
30 Oct 2015 12:10 AM
http://wiki.roblox.com/index.php?title=Mouse_Appearance#Set_mouse_icon
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:14 AM
Thanks. Sorry, forgot to check the wiki first. Didn't even think about it until just now.

~MightyDantheman
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:22 AM
Actually, the script isn't working:

local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = "http://www.roblox.com/asset?id=198139392"

----------------------------------------------------------------------

I also tried adding this part in:

while true do
wait(2)
game:GetService("UserInputService").MouseIconEnabled = false
wait(2)
game:GetService("UserInputService").MouseIconEnabled = true
end

----------------------------------------------------------------------

Nothing worked? Am I doing something wrong?

~MightyDantheman
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:29 AM
Then I put this local script into the StarterPack:

local mouse = script.Parent.Parent:GetMouse()
mouse.Icon = "http://www.roblox.com/asset?id=198139392"

--Still didn't work.

~MightyDantheman
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:32 AM
I should also add that this is for first person, but third person didn't work either.

~MightyDantheman
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 12:55 AM
bump.

~MightyDantheman
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
30 Oct 2015 01:06 AM
You can't directly change it.
The only way to change it is using a tool or hopperbin:
Example:
When hopperbin is equipped:
-acquire mouse
-change icon
-destroy hopperbin


http://www.roblox.com/a-item?id=212802893local D = Instance.new('RocketPropulsion',me) D.Target = OP D:Fire()
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
30 Oct 2015 01:10 AM
Is there a way to have the player auto-equip the tool when he/she joins the game?

~MightyDantheman
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
30 Oct 2015 01:13 AM
Parent the tool to the player's character
(You can't auto-equip hopperbins)



http://www.roblox.com/a-item?id=212802893local D = Instance.new('RocketPropulsion',me) D.Target = OP D:Fire()
Report Abuse
HRnSN is not online. HRnSN
Joined: 22 Jun 2009
Total Posts: 1276
30 Oct 2015 01:39 AM
Are you using a local script lol
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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