Apparently, I saw this error:
21:20:58.381 - Palyers is not a valid member of DataModel 21:20:58.382 - Script 'Players.Player1.Backpack.LocalScript1', Line 148 21:20:58.382 - Stack End
game.Palyers.LocalPlayer.Character.Humanoid.Died:connect(function() --Line 148 if game.Players.LocalPlayer.TeamColor == game.Teams.Playing.TeamColor then a = game.Lighting.Starter:Clone() a.Parent = script.Parent end end) --Line 153
Could someone please tell me what's wrong with this and how I can fix it? Thanks! This IS in a LocalScript.
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() --Line 148 if game.Players.LocalPlayer.TeamColor == game.Teams.Playing.TeamColor then a = game.Lighting.Starter:Clone() a.Parent = script.Parent end end) --Line 153
You misspelled Players on line 148, you said game.Palyers instead of game.Players