Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't this script working?!

Asked by 10 years ago

Ok so I have tried to change the script so it would work and I have tried putting it into teams. Here is the script:

01local playerStats = {} --this keeps a list of the stats for each player that enters the game
02 
03 
04 
05game.Players.PlayerAdded:connect(function(player)
06 
07    local leaderstats = Instance.new("Model", player)
08 
09    leaderstats.Name = "leaderstats"
10 
11game.Players.PlayerAdded:connect(function(player)
12 
13    local leaderstats = Instance.new("Model", player)
14 
15    leaderstats.Name = "leaderstats"
View all 61 lines...

Please help, I don't know what's wrong (yes I do have a team that is brick colour ''Bright red'' so it's not because it's for the wrong team.)

2
Can you please code block all of this correctly? alphawolvess 1784 — 10y

Answer this question