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
 

This isnt working

Previous Thread :: Next Thread 
ShadowAley is not online. ShadowAley
Joined: 23 Jun 2010
Total Posts: 4823
06 Mar 2015 11:44 AM
local textlabel = script.Parent

game.Players.PlayerAdded:connect(function(player)
if player and player.Character then
textlabel.Text = player.Name .. " has joined!"
end
end)


---------

It doesn't do anything at all :/
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
06 Mar 2015 11:50 AM
"if player and player.Character"

1. character doesn't exist
2. it is completely unnecessary to check for the player

local textlabel = script.Parent

game.Players.PlayerAdded:connect(function(player)
textlabel.Text = player.Name .. " has joined!"
end)
Report Abuse
ShadowAley is not online. ShadowAley
Joined: 23 Jun 2010
Total Posts: 4823
06 Mar 2015 11:50 AM
Still doesn't work, bro.
Report Abuse
FunkiAndrew is not online. FunkiAndrew
Joined: 01 Dec 2013
Total Posts: 2318
06 Mar 2015 11:52 AM
textlabel.Text = player.Name.." has joined!" -- NO SPACES.

you're welcome.


~totally not a hidden bump~
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
06 Mar 2015 11:55 AM
http://www.roblox.com/item.aspx?id=223654079

1. Follow What The ReadMe Says

2. ???????

3. Profit
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