Advertisement
Sungmingamerpro13

Medkit Challenge(STORY GAME)

Aug 22nd, 2022
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. wait(0.5)
  2.  
  3. game.Workspace.Medkit.Enabled.Value = true
  4.  
  5. for i = 40, 0, -1 do
  6. TopText.Value = i
  7. wait(1)
  8. if game.Workspace.Medkit.Found.Value == true then
  9. break
  10. elseif i == 0 and game.Workspace.Medkit.Found.Value == false then
  11. RandomPlayer.Character.Humanoid.Health = 0
  12. end
  13. end
  14.  
  15. repeat wait(0.1) until game.Workspace.Medkit.Found.Value == true or RandomPlayer.Character.Humanoid.Health == 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement