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: Getting the clicker of a TextButton

Previous Thread :: Next Thread 
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 10:49 AM
The MouseButton1 Event gives the axis, so I don't know how to find who clicked a button. Can somebody please enlighten me?
Danke.

Wisest of the wise.. Meowth.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 11:03 AM
Bump.

Wisest of the wise.. Meowth.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 11:11 AM
Cmon, please?
Everyone else gets the replies qq

Wisest of the wise.. Meowth.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 11:12 AM
Oh yeah - should probably add this is for SurfaceGuis. Otherwise, I'd be able to do it.

Wisest of the wise.. Meowth.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 11:51 AM
Bump...

Wisest of the wise.. Meowth.
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
28 Apr 2014 11:52 AM
SurfaceGui?
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 11:58 AM
Yes. If you were away, it's a new GUI that can be displayed on the surface of a block. You can't use TextBoxes on them, but you can use TextButtons which makes them very interactive. I wanted to teleport someone to another place when they clicked a button on the SurfaceGui.

Wisest of the wise.. Meowth.
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
28 Apr 2014 12:22 PM
Put the SurfaceGui in StarterGui and adorn it via the command bar to the part you want. Then put a Local Script inside of it and use LocalPlayer. The only problem is that every SurfaceGui will be local. So editing it will change it only to one player. You'll have to use a for loop and iterate through everybody's SurfaceGui in this case.
Report Abuse
rossb654mail is not online. rossb654mail
Joined: 12 Oct 2009
Total Posts: 11004
28 Apr 2014 12:24 PM
Thanks for your explanation, though it is a little vague :p
I've moved the thread here to explain my point better: http://www.roblox.com/Forum/ShowPost.aspx?PostID=132154306

Wisest of the wise.. Meowth.
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