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: Custom Click Detector

Previous Thread :: Next Thread 
Link5659 is not online. Link5659
Joined: 04 Jun 2012
Total Posts: 4525
23 Jul 2015 07:11 PM
Is there a way to change the click detector "click icon"
or a script to change it..
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
23 Jul 2015 07:16 PM
local mouse = game.Players.LocalPlayer:GetMouse()

local p = worskpace.Part
local cd = p.ClickDetector

local oldIcon = mouse.Icon

cd.MouseHoverEnter:connect(function()
mouse.Icon = "rbxassetid://yourid"
end)

cd.MouseHoverLeave:connect(function()
mouse.Icon = oldIcon
end)

put that in a local script, make sure you yield for the part and clickdetector though
Report Abuse
Link5659 is not online. Link5659
Joined: 04 Jun 2012
Total Posts: 4525
23 Jul 2015 08:02 PM
thanks anyways welp Roblox crashed ad I lost 5 hours worth of work it was literally a full game lost errrr
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