Taken out of my game and edited!
local passId = 405122945
local lasersniper = game.Lighting.RedHyperLaser
function haspassyay(player)
return game:GetService("MarketplaceService"):PlayerOwnsAsset(player, passId)
end
game.Players.PlayerAdded:connect(function(plr)
if haspassyay(plr) then
lasersniper:Clone().Parent = plr.Backpack
end
end)
Also, I don't recommend putting models into lighting or anything, it's inefficient and laggy. Use replicated storage. :)
|