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: How do you get the player's mouse without a Hopperbin?

Previous Thread :: Next Thread 
thelastbunny is not online. thelastbunny
Joined: 07 Aug 2009
Total Posts: 2879
03 Sep 2011 09:35 PM
How do you access a player's mouse object without using a Hopperbin or tool?
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:36 PM
Can't, without modded Roblox.exe
I have a modded exe I made, but I can't release it into the public yet. I'll PM you when it's done if you would like.
Report Abuse
swmaniac is not online. swmaniac
Joined: 28 Jun 2008
Total Posts: 15773
03 Sep 2011 09:37 PM
You must use one or the other, but you CAN auto-equip the tool and then deleting it in the same frame.

I believe this is the correct way

local Tool = Instance.new("Tool")
Instance.new("Part", Tool).Name = "Handle"
local mouse
Tool.Equipped:connect(function(Mouse) mouse = Mouse end)
Tool.Parent = game:GetService("Players").LocalPlayer.Character
Tool:remove()
Report Abuse
Riderj is not online. Riderj
Joined: 15 Aug 2011
Total Posts: 1534
03 Sep 2011 09:50 PM
swmaniac, you would simply do this:


Bin = script.Parent
script.Parent = script.Parent.Parent
Bin:Remove()


:3
Report Abuse
GoldenUrg is not online. GoldenUrg
Joined: 23 Aug 2009
Total Posts: 6428
03 Sep 2011 09:58 PM
@riderj
You can do lots of things, but the point was to get the mouse, which you seem to have completely missed.
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