Advertisement
Guest User

LocalScript

a guest
Dec 11th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. db = false
  2. local hum = game.Workspace["Human Spawn"]
  3. local text = script.Parent
  4.  
  5. function OnTouch(hum)
  6. if db == false then
  7. db = true
  8. text.Text = 35
  9. wait(1)
  10. text.Text = 34
  11. wait(1)
  12. text.Text = 33
  13. wait(1)
  14. text.Text = 32
  15. wait(1)
  16. text.Text = 31
  17. wait(1)
  18. text.Text = "Door will open in 30 seconds"
  19. wait(1)
  20. text.Text = 29
  21. wait(1)
  22. text.Text = 28
  23. wait(1)
  24. text.Text = 27
  25. wait(1)
  26. text.Text = 26
  27. wait(1)
  28. text.Text = 25
  29. wait(1)
  30. text.Text = 24
  31. wait(1)
  32. text.Text = 23
  33. wait(1)
  34. text.Text = 22
  35. wait(1)
  36. text.Text = 21
  37. wait(1)
  38. text.Text = 20
  39. wait(1)
  40. text.Text = 19
  41. wait(1)
  42. text.Text = 18
  43. wait(1)
  44. text.Text = 17
  45. wait(1)
  46. text.Text = 16
  47. wait(1)
  48. text.Text = 15
  49. wait(1)
  50. text.Text = 14
  51. wait(1)
  52. text.Text = 13
  53. wait(1)
  54. text.Text = 12
  55. wait(1)
  56. text.Text = 11
  57. wait(1)
  58. text.Text = "Door will open in 10 seconds"
  59. wait(1)
  60. text.Text = 9
  61. wait(1)
  62. text.Text = 8
  63. wait(1)
  64. text.Text = 7
  65. wait(1)
  66. text.Text = 6
  67. wait(1)
  68. text.Text = "Door will open in 5 seconds"
  69. wait(1)
  70. text.Text = "Door will open in 4 seconds"
  71. wait(1)
  72. text.Text = "Door will open in 3 seconds"
  73. wait(1)
  74. text.Text = "Door will open in 2 seconds"
  75. wait(1)
  76. text.Text = "Door will open in 1 seconds"
  77. wait(1)
  78. text.Text = "Door will open in 0 seconds"
  79. wait(1)
  80. text.Text = "Team, FALL BACK!"
  81.  
  82. -- game.Workspace.TS1.Door1.CanCollide = false
  83. -- game.Workspace.TS1.Door1.BrickColor = BrickColor.new("Sea green")
  84. -- local laser = game.Workspace.TS1.Door1.LaserPlane
  85. -- laser:Destroy()
  86. text.Door:FireServer()
  87. wait(5)
  88. text.Text = ""
  89. db = true
  90. end
  91. end
  92.  
  93. hum.Touched:Connect(OnTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement