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: When Player Clicks Screen...Script Help

Previous Thread :: Next Thread 
Airstruct is not online. Airstruct
Joined: 13 Oct 2016
Total Posts: 73
24 Nov 2017 08:53 PM
How do I do a script where when the player clicks the left mouse button (MouseButton1), it does a function?


Report Abuse
toggytokyo is not online. toggytokyo
Joined: 09 Nov 2011
Total Posts: 50
24 Nov 2017 09:11 PM
Do you want it to activate when a player clicks a GUI, object, or just clicking anything?


Report Abuse
Airstruct is not online. Airstruct
Joined: 13 Oct 2016
Total Posts: 73
28 Nov 2017 05:22 PM
Anything.


Report Abuse
zC0LX is not online. zC0LX
Joined: 02 Apr 2017
Total Posts: 59
28 Nov 2017 05:24 PM
make an entire transparent button
and put a Script in it and put the following in script

function click()
--yourcodehere
end

script.Parent.MouseButton1Down:connect(click)

your welcome sir


#code print('oh no an error!!')
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