Advertisement
Sungmingamerpro13

MedkitScript(STORY GAME)

Aug 11th, 2022
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. BroadcastMessage('Quick, find '..PoisonedPlayer.Name.." 's backpack! I left it in the offices upstairs somewhere!")
  2.  
  3. wait(0.5)
  4.  
  5. game.Workspace.Medkit.Enabled.Value = true
  6.  
  7. for i = 30,0,-1 do
  8. TopText.Value = i
  9. wait(1)
  10. if game.Workspace.Medkit.Found.Value == true then
  11. break
  12. elseif i == 0 and game.Workspace.Medkit.Found == false then
  13. --Kill the PoisonedPlayer
  14. PoisonedPlayer.Character.Humanoid.Health = 0
  15. end
  16. end
  17.  
  18. repeat wait(0.1) until game.Workspace.Medkit.Found.Value == true or PoisonedPlayer.Character.Humanoid.Health == 0
  19.  
  20. game.Workspace.Sounds.Action:Stop()
  21.  
  22. if game.Workspace.Medkit.Found.Value == true then
  23. SetMessageSpeaker('Guide')
  24.  
  25. BroadcastMessage('Phew, '..game.Workspace.Medkit.PlayerName.Value..' found '..PoisonedPlayer.Name.." 's Medkit.")
  26. else
  27. SetMessageSpeaker('Guide')
  28.  
  29. BroadcastMessage('Oh no, '..PoisonedPlayer.Name..' Died, what am I going to say to their parents?')
  30. end
  31.  
  32. SetMessageSpeaker('Guide')
  33.  
  34. BroadcastMessage("It's getting late, we should get some sleep.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement