Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Did this script code broke?

Asked by 9 years ago

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.

0
Recheck your script, and look closely at the code. :/ TheeDeathCaster 2368 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

[NOT AN ANSWER] Break******* NOT BROKE

Ad
Log in to vote
0
Answered by 9 years ago

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

Answer this question