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: how to find player from click?

Previous Thread :: Next Thread 
ArknausRIP is not online. ArknausRIP
Joined: 24 Dec 2015
Total Posts: 516
17 Sep 2016 05:13 PM
this is what I have rn and its not working


part = script.Parent


part.ClickDetector.MouseClick:connect(function(player)
tool = game.Lighting.Tool:Clone()
tool.Parent = game.Players.player.Backpack
end)

Report Abuse
ArknausRIP is not online. ArknausRIP
Joined: 24 Dec 2015
Total Posts: 516
17 Sep 2016 05:17 PM
bump
Report Abuse
ArknausRIP is not online. ArknausRIP
Joined: 24 Dec 2015
Total Posts: 516
17 Sep 2016 05:27 PM
bump
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
17 Sep 2016 05:36 PM
tool.Parent = player.Backpack


Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
17 Sep 2016 05:37 PM
Findfirstchild
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
17 Sep 2016 05:38 PM
i just lold


Report Abuse
Caedus01013 is not online. Caedus01013
Joined: 22 Sep 2011
Total Posts: 279
17 Sep 2016 05:39 PM
################################################################################################################################################
Report Abuse
Caedus01013 is not online. Caedus01013
Joined: 22 Sep 2011
Total Posts: 279
17 Sep 2016 05:40 PM
part = script.Parent


part.ClickDetector.MouseClick:connect(function(player)
tool = game.Lighting.Tool:Clone()
tool.Parent = player.Backpack
end)
Report Abuse
Caedus01013 is not online. Caedus01013
Joined: 22 Sep 2011
Total Posts: 279
17 Sep 2016 05:41 PM
player is equal to game.Players.ThePlayer

you don't have to go down the hierarchy
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
17 Sep 2016 05:51 PM
'function(player)'

'player'


*facepalm*


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
17 Sep 2016 05:56 PM
idiot^


Report Abuse
AxonMega is not online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
17 Sep 2016 06:15 PM
Use Caedus's script.
Report Abuse
ArknausRIP is not online. ArknausRIP
Joined: 24 Dec 2015
Total Posts: 516
17 Sep 2016 06:24 PM
thank you guys for the help.
Report Abuse
legitdude04 is not online. legitdude04
Joined: 14 Mar 2013
Total Posts: 47
17 Sep 2016 09:48 PM
This is what I think might work

part = script.Parent

part.ClickDetector.MouseClick:connect(function(player)
tool = game.Lightning.Tool:Clone()
tool.Parent = game.Players.LocalPlayer.Backpack
end)


Might work


From Legitdude04
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