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: Script not working :\

Previous Thread :: Next Thread 
deathreaper1555 is not online. deathreaper1555
Joined: 15 Jul 2008
Total Posts: 10
01 Oct 2013 08:45 PM
-- Not sure why this isn't working, whenever it checks 'PeoplePlaying' for their name, output says "soandso is not a valid member of Model" (PeoplePlaying is a model which stores player's names who have been on the server)

function onPlayerEntered(player)
gui = Instance.new("ScreenGui", player.PlayerGui)
txt = Instance.new("TextLabel", gui)
txt.Position = UDim2.new(0.4,0,0.3,0)
txt.Size = UDim2.new(0.1,0,0.1,0)
txt.BackgroundTransparency = 0.5
txt.BorderSizePixel = 3
txt.BorderColor = BrickColor.new("Bright red")
txt.BackgroundColor = BrickColor.new("Really red")

game:GetService("Debris"):AddItem(gui,3)

if game.Workspace.PeoplePlaying[player.Name] == false then


add = Instance.new("Model")
add.Name = player.Name
add.Parent = game.Workspace.PeoplePlaying
txt.Text = "Welcome"..pers.Name


else

txt.Text = "Welcome back to this server "..player.Name



end

end

game.Players.ChildAdded:connect(onPlayerEntered)
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
01 Oct 2013 08:47 PM
I have an idea: go to the right forum section.
Report Abuse
deathreaper1555 is not online. deathreaper1555
Joined: 15 Jul 2008
Total Posts: 10
01 Oct 2013 08:53 PM
Sorry, no need to be rude however. It's not exactly rare for people to accidentally post in the wrong forum section.

Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
01 Oct 2013 08:53 PM
And we always react the same way.

Get out.

~ Linguam latinam est optimum ~
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Oct 2013 08:55 PM
"It's not exactly rare for people to accidentally post in the wrong forum section."
I know, because there are a lot of stupid people these days.
Report Abuse
deathreaper1555 is not online. deathreaper1555
Joined: 15 Jul 2008
Total Posts: 10
01 Oct 2013 08:57 PM
>makes mistake


>is stupid and should die



> www.RobloxianLogic.com
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Oct 2013 09:01 PM
> Posts invalid offsite link

> OT login
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
01 Oct 2013 09:17 PM
At no point in this thread did anyone state, nor did anyone indirectly indicate that you should die.
Grow up and stop overreacting.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Oct 2013 09:17 PM
I said login e_e
logic*
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