SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | for i, v in pairs(game.Players:GetDescendants()) do |
2 | - | for i, v in pairs(game.workspace:GetDescendants()) do |
2 | + | if v.Name == "Role" and v.Value == "Survivor" then |
3 | - | if v:IsA("Sound") and v.Parent.Parent.Name == "Boombox3" then --Set generator model. |
3 | + | printoutput(v.Parent.Parent.Name .." is a Survivor") |
4 | - | printoutput(v.SoundId) |
4 | + | elseif v.Name == "Role" and v.Value == "Impostor" then |
5 | - | else |
5 | + | printoutput(" " .. v.Parent.Parent.Name .." is a Imposter") |
6 | - | print("skipping part") |
6 | + | |
7 | end |