Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local killerWeapon = game.ServerStorage.ClassicSword
- local plrs = game.Players
- local survivors = {}
- while wait(20) do
- local chosen = plrs:GetChildren()[math.random(1, #plrs:GetChildren())]
- chosen.PlayerGui.Picker.Background.RoleGiven.Text = "Murderer"
- chosen.PlayerGui.Picker.Background.RoleGiven.TextColor3 = Color3.fromRGB(255, 0, 0)
- chosen.PlayerGui.Picker.Background.Visible = true
- killerWeapon:Clone().Parent = chosen.Backpack
- for i, plr in pairs(plrs:GetChildren()) do
- if plr ~= chosen then
- table.insert(survivors, plr)
- plr.PlayerGui.Picker.Background.RoleGiven.Text = "Survivor"
- plr.PlayerGui.Picker.Background.RoleGiven.TextColor3 = Color3.fromRGB(0, 255, 0)
- plr.PlayerGui.Picker.Background.Visible = true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement