Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function findsheriff() --Find who the Sheriff is
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v ~= game:GetService("Players").LocalPlayer then
- for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
- if v.Name == "Gun" then
- warn(v.Parent.Parent.Name.. " is the sheriff.")
- end
- end
- end
- end
- end
- function findgood() --Find who the Sheriff is
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v ~= workspace.Josemmoya then
- for i,v in pairs(v:GetChildren()) do --Checks backpack for knife
- if v.Name == "Gun" then
- warn(v.Parent.Name.. " is the sheriff.")
- end
- end
- end
- end
- end
- findgood()
- findsheriff()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement