I made this a while ago on v3rm and thought I might share it
So it prints in dev console who the murderer/sherrif is (F9)
Sherrif:
for i,v in pairs(game.Players:GetChildren()) do
if v.Backpack:FindFirstChild('Gun') then
print(v.Name .. "has the gun!")
end
if v.Character:FindFirstChild('Gun') then
print(v.Name .. "has the gun!")
end
end
Murderer:
for i,v in pairs(game.Players:GetChildren()) do
if v.Backpack:FindFirstChild('Knife') then
print(v.Name .. "has the knife!")
end
if v.Character:FindFirstChild('Knife') then
print(v.Name .. "has the knife!")
end
end