Hey guys! I'm making a game and I need some code that would give every player in the game a certain tool (From lighting preferably)
Any help?
Are you trying to give every player currently in-game a tool at a given moment? If so, simply iterate over game.Players and clone the tool into everyone's Backpack, like so:
for _,player in ipairs(game.Players:getChildren()) do local tool = game.Lighting.YourToolNameHere:clone() tool.Parent = player.Backpack end