menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
When Player Clicks Screen...Script Help
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
When Player Clicks Screen...Script Help
Airstruct
Join Date: 2016-10-13
Post Count: 73
#227982594
Saturday, November 25, 2017 2:53 AM GMT
How do I do a script where when the player clicks the left mouse button (MouseButton1), it does a function?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
toggytokyo
Join Date: 2011-11-09
Post Count: 50
#227983456
Saturday, November 25, 2017 3:11 AM GMT
Do you want it to activate when a player clicks a GUI, object, or just clicking anything?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Airstruct
Join Date: 2016-10-13
Post Count: 73
#228205719
Tuesday, November 28, 2017 11:22 PM GMT
Anything.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
zC0LX
Join Date: 2017-04-02
Post Count: 59
#228205796
Tuesday, November 28, 2017 11:24 PM GMT
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!!')
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right