local plr=game.Players.LocalPlayer if plr.Team=="Blue" then game.Lighting.M4:Clone().Parent=plr.Backpack print("It's working") end
As the title says, when I launch the game up to test, it doesn't work, doesn't show any errors, or prints anything. Am I supposed to use a service in my script? Since after all, a Team is a property of a Player, and this is a local script.
This is an easy and quick fix. Just replace "Blue" with game.Teams.Blue