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: clickdectator on Player

Previous Thread :: Next Thread 
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:03 PM
So I'm trying to make it print "Yes omg" when I click the player's head

function addClick(mo)
local ClickDetector = Instance.new("ClickDetector", mo)
ClickDetector.MouseClick:connect(function(playerWhoClicked)
print("Part was clicked by: " .. playerWhoClicked.Name)
end)
end


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:04 PM
so mo would be equal to player.head but its not working


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
03 Feb 2017 07:05 PM
Are you calling the function?
Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:08 PM
Yes, and everything works except for the Click Event


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:11 PM
;c


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:13 PM
Bump


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:17 PM
So basically everything works its just the Click event or


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:19 PM
;c


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:24 PM
;o


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:25 PM
Bump


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:26 PM
# ###
Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:32 PM
Sigh


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
03 Feb 2017 07:35 PM
Any errors in output?
Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:35 PM
Someone help me


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:40 PM
Theres absolutely no errors, the event isnt working for some reason


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:45 PM
O


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:48 PM
:c


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:52 PM
;c


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 07:57 PM
help


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Feb 2017 07:58 PM
seriously the fact that you're spamming changed ## mind about wanting to help you
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Feb 2017 07:59 PM
my*


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 08:55 PM
I'm not spamming , just trying to get the proper attention to fix my problem


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Feb 2017 09:01 PM
then you don't understand the meaning of the term "bump"
you were literally "bumping" while your thread was at the top/near the top of the page


Report Abuse
ZvoStar is not online. ZvoStar
Joined: 16 Mar 2012
Total Posts: 1727
03 Feb 2017 09:02 PM
Sorry


Report Abuse
Swozu is not online. Swozu
Joined: 01 Sep 2013
Total Posts: 17
03 Feb 2017 09:04 PM
Use mouse.Target


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