this is only part of the script but you get the idea
______________________________
if (m == 3) then
local msg6 = Instance.new("Message")
msg6.Parent = game.Workspace
msg6.Text = "Minigame 3"
wait(3)
msg6.Text = "Lava monster survival!"
wait(3)
msg6.Text = "Every kill is 1 point!"
wait(2)
msg6:Remove()
wait()
local p = game.Players:GetChildren()
for i = 1, #p do
wait(1)
p[i].Character.Torso.CFrame = CFrame.new(Vector3.new(-294, 157, 1.21e+003))
wait()
p[i].leaderstats.Round.Value = 3
local gun = game.Lighting.Shotgun:Clone()
gun.Parent = p[i].Backpack
wait(3)
game.Workspace.zombiedoor.Cancollide = false
wait(30)
game.Workspace.zombiedoor.Cancollide = true
local msg7 = Instance.new("Message")
msg7.Parent = game.Workspace
msg7.Text = "Phew!the doors are locked now!"
wait(3)
msg7.Text = "Survivors gain a extra 30-40 point!"
wait(3)
msg7:Remove()
if (p[i].leaderstats.Round.Value == 3) then
p[i].leaderstats.Points.Value = p[i].leaderstats.Points.Value + math.random(30,40)
p[i].Character.Humanoid.Health = 0
end
end
end
|