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: Chat function

Previous Thread :: Next Thread 
modjordan is not online. modjordan
Joined: 08 Mar 2009
Total Posts: 70
21 Feb 2015 06:15 PM
Question:
is it possible to access the message of a user through his/her HopperBin tool?
if so, how?
(Trying to make an effect happen onButton1Down if the player chats a certain thing via HopperBin)
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
21 Feb 2015 06:16 PM
player.Chatted:connect(function(msg)

end)

Also onButton1Down isn't an event, MouseButton1Down / MouseButton1Click are.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
21 Feb 2015 06:16 PM
In addition, hopper bins are everything but deprecated and are not recommended for use and have been out of date for quite a while now.

Instead, consider using local mouse = player:GetMouse() and continue on with that.
Report Abuse
modjordan is not online. modjordan
Joined: 08 Mar 2009
Total Posts: 70
21 Feb 2015 06:21 PM
This fully fixed my problem! Thank you for your help, and for further explanation, I am using onButton1Down as a function with the use of the mouse.
Ex: mouse.Button1Down:connect(function() onButton1Down(mouse) end)
Thanks a lot!
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
21 Feb 2015 06:22 PM
Oh yeah, it's a hopperbin, forgot and was getting confused with custom user functions for the MouseButton1Down event.
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