01 local passId = 162660258 02
03 function isAuthenticated(player) 04 return game:GetService("GamePassService"):PlayerHasPass(player, passId) 05 end 06
07 game.Players.PlayerAdded:connect(function(player) 08 player.CharacterAdded:connect(function(character) 09 if isAuthenticated(player)then 10 tool = game.Lighting["M14"]:Clone() 11 tool.Parent = player.Backpack 12 end 13 end)end
I need a script that gives you 5 weapons on the gamepass if they bought.
Would you mind actually putting code in a code block?
--LIKE THIS for i,v in pairs(Use.Tools.Correctly:GetChildren()) do if noob:IsntUsingTheCorrectBlocks() then minusrep(noob) end end
Yeah, I refuse to take a look at your script because you copied the bloody line numbers..
01 local passId = 162660258 02 03 function isAuthenticated(player) 04 return game:GetService("GamePassService"):PlayerHasPass(player, passId) 05 end 06 07 game.Players.PlayerAdded:connect(function(player) 08 player.CharacterAdded:connect(function(character) 09 if isAuthenticated(player)then 10 tool = game.Lighting["M14"]:Clone() 11 tool.Parent = player.Backpack 12 end 13 end)end