CCCPaste

MedkitScript(STORY GAME)

BroadcastMessage('Quick, find '..PoisonedPlayer.Name.." 's backpack! I left it in the offices upstairs somewhere!")

wait(0.5)

game.Workspace.Medkit.Enabled.Value = true

for i = 30,0,-1 do
TopText.Value = i
wait(1)
if game.Workspace.Medkit.Found.Value == true then
break
elseif i == 0 and game.Workspace.Medkit.Found == false then
--Kill the PoisonedPlayer
PoisonedPlayer.Character.Humanoid.Health = 0
end
end

repeat wait(0.1) until game.Workspace.Medkit.Found.Value == true or PoisonedPlayer.Character.Humanoid.Health == 0

game.Workspace.Sounds.Action:Stop()

if game.Workspace.Medkit.Found.Value == true then
SetMessageSpeaker('Guide')

BroadcastMessage('Phew, '..game.Workspace.Medkit.PlayerName.Value..' found '..PoisonedPlayer.Name.." 's Medkit.")
else
SetMessageSpeaker('Guide')

BroadcastMessage('Oh no, '..PoisonedPlayer.Name..' Died, what am I going to say to their parents?')
end

SetMessageSpeaker('Guide')

BroadcastMessage("It's getting late, we should get some sleep.")