|
| 14 Apr 2015 12:53 PM |
| or does it have to be local? |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 12:54 PM |
print(Player.Name)
Just define Player. |
|
|
| Report Abuse |
|
|
Ulrond
|
  |
| Joined: 23 Jun 2011 |
| Total Posts: 11962 |
|
|
| 14 Apr 2015 12:54 PM |
| Yes, but what you're tring to do may affect it. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:04 PM |
I have tried doing Player.Name -_-
does not work when 2 players are in server |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:07 PM |
| Yes, it works, if you defined Player. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:12 PM |
| What player are you trying to find? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 14 Apr 2015 01:13 PM |
| Show us the script, there are different ways to accurately define the client through the server. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:22 PM |
--Does not work in 2 player server have already tried this before.
wait()
Player = game.Players.Player
script.Parent.ClickDetector.MouseClick:connect(function(check) if Player.Name == ("Player") then print("yes") end end) |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 14 Apr 2015 01:24 PM |
Bruh
script.Parent.ClickDetector.MouseClick:connect(function(check) if check.Name == ("Player") then print("yes") end end)
And why would your player be named 'Player'? |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:26 PM |
| Goul have already tried that does not work. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:27 PM |
| Any one else want to give a try? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
|
| 14 Apr 2015 01:29 PM |
| Goul are you going to help or not? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 14 Apr 2015 01:30 PM |
| I'm done, you broke me. You're literally impossible to help. |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 01:31 PM |
You have not actually helped me so...
You keep on telling me things i have already tried done and failed. |
|
|
| Report Abuse |
|
|
lokkut
|
  |
| Joined: 18 Mar 2009 |
| Total Posts: 1794 |
|
|
| 14 Apr 2015 01:48 PM |
That's because you're being a literal idiot.
Go read the cookbooks on the wiki and stop asking here for help, you don't have enough understanding about Lua yet. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 14 Apr 2015 01:57 PM |
@OP
The only reason Goul's example would NOT work is if you had filtering enabled.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2015 02:02 PM |
Guys, I've been done helping ReverseUniverse. Why bother?
It's just an ignorant who insulted me. Not to mention i'm glad he stopped bumping every second... |
|
|
| Report Abuse |
|
|
yobo89
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
| |
|
32bitPC
|
  |
| Joined: 04 Jul 2013 |
| Total Posts: 61 |
|
|
| 14 Apr 2015 02:20 PM |
Finding "Player" in a multi-player server DOES NOT WORK. I think you're trying to make an admin script, but you could also be doing it wrong. The arguement returned by the Click detector IS the player, and you can simply print check.Name instead of checking if the player's name is "Player"
For goodness' sakes, go on google. |
|
|
| Report Abuse |
|
|