I want the players to receive a weapon when they teleport from the lobby to the map but the output window doesnt give me an error heres the code:
--Giving Weapons to Players
local randomplayers = contestants
backpack = game.Players:FindFirstChild("Backpack")
if randomplayers == killer then
local sword = repStorage:WaitForChild("Enforcer's Sword"):Clone()
sword.Parent = backpack
elseif randomplayers ~= killer then
local weaksword = repStorage:WaitForChild("NonEnforcer"):Clone()
weaksword.Parent = backpack
end

3 comments
That didnt work
and output gives nothing?
nope