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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is it possible to find players name using a normal script?

Previous Thread :: Next Thread 
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
14 Apr 2015 12:53 PM
or does it have to be local?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
14 Apr 2015 12:54 PM
print(Player.Name)

Just define Player.
Report Abuse
Ulrond is not online. 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
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
14 Apr 2015 01:04 PM
I have tried doing Player.Name -_-

does not work when 2 players are in server
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
14 Apr 2015 01:07 PM
Yes, it works, if you defined Player.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Apr 2015 01:12 PM
What player are you trying to find?
Report Abuse
Goulstem is not online. 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
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
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 is not online. 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
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
14 Apr 2015 01:26 PM
Goul have already tried that does not work.
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
14 Apr 2015 01:27 PM
Any one else want to give a try?
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
14 Apr 2015 01:28 PM
Show your hierarchy
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
14 Apr 2015 01:29 PM
Goul are you going to help or not?
Report Abuse
Goulstem is not online. 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
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
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 is not online. 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 is not online. 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
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
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 is not online. yobo89
Joined: 05 Jun 2010
Total Posts: 2341
14 Apr 2015 02:03 PM
*facepalm
Report Abuse
32bitPC is not online. 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
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