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 » Scripting Helpers
Home Search
 

Re: player list

Previous Thread :: Next Thread 
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
26 Jan 2014 07:32 PM
How would I make it so, when a player leaves, their name goes off the player list?


repeat wait() until script.Parent.Parent.Parent

while wait(1) do
local Player = script.Parent.Parent.Parent
local Opened = Player.PlayerGui.Playerlist.Opened
local x = Player.PlayerGui.Playerlist.Background

Template = game.Lighting.Template:clone()
Players = game.Players:GetChildren()
num = 0
playas = 0
for i = 1, #Players do
if playas < 12 then
playas = playas +1
T2 = Template:clone()
T2.Parent = x
T2.Position = UDim2.new(0, 0, num, 0)
T2.Name = "Removeable"
T2.Text = Players[i].Name
num = num +0.1
end
end

end
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
26 Jan 2014 07:34 PM
It does automagicly.. Unless you have a custom one.
Report Abuse
shawnyg is not online. shawnyg
Joined: 21 Apr 2011
Total Posts: 1428
26 Jan 2014 07:43 PM
http://wiki.roblox.com/index.php/PlayerRemoving_(Event)

~Hope I helped, if you need a script, PM me. ~Glory to CAT!~ ~CAT General Shawnyg~
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
26 Jan 2014 08:08 PM
bump
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
27 Jan 2014 11:39 AM
while wait(1) do

That is crappy.
Use the function GIVEN TO YOU..

And unless this is a custom playerlist you dont need to..
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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