01 | game.Players.PlayerAdded:connect( function (player) |
02 |
03 |
04 | local stats = Instance.new( "IntValue" , player) |
05 | stats.Name = "leaderstats" |
06 |
07 |
08 | local points = Instance.new( "IntValue" , stats) |
09 | points.Name = "Points" |
10 |
11 | local ingame = Instance.new( "BoolValue" , player) |
12 | ingame.Name "InGame" |
13 |
14 |
15 | end ) |
01 | minigames = game.Lighting.Minigames:GetChildren() |
02 | h = Instance.new( "Hint" , game.Workspace) |
03 |
04 | function removePlate() |
05 | local plates = game.Workspace.DisappearingPlates.Plates:GetChildren() |
06 | local ranNum 1 = math.random( 1 ,#plates) |
07 | local ranNum 2 = 1 |
08 | while ranNum 1 = = ranNum 2 do |
09 | local ranNum 2 = math.random( 1 ,#plates) |
10 | wait( 1 ) |
11 | end |
12 | local plateChosen = plates(ranNum 1 ) |
13 | local plateChosen 2 = plates(ranNum 2 ) |
14 | for i = 0 , 1 , 0.06 do |
15 | plateChosen.Transparency = i |
I fixed it. I just forgot an equal sign in there
01 | -- Made by RetroThieff |
02 |
03 | game.Players.PlayerAdded:connect( function (player) |
04 |
05 |
06 | local stats = Instance.new( "IntValue" , player) |
07 | stats.Name = "leaderstats" |
08 |
09 |
10 | local points = Instance.new( "IntValue" , stats) |
11 | points.Name = "Points" |
12 |
13 | local ingame = Instance.new( "BoolValue" , player) |
14 | ingame.Name = "InGame" |
15 |
16 |
17 | end ) |