Advertisement
Sungmingamerpro13

Basket Challenge

Aug 16th, 2023
1,126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.78 KB | None | 0 0
  1. script:WaitForChild("BasketReturned").Event:Connect(function()
  2.     BroadcastMessage("The Food has safery arrived! We won't hungry anymore!")
  3.    
  4.     wait(10)
  5.    
  6.     BroadcastMessage("But Wait! One of Sandwiches is poisoned! One of us will die!")
  7.    
  8.     if RandomPlayer.Character then
  9.         RandomPlayer.Character.Humanoid.Health = 0
  10.     end
  11.    
  12.     BroadcastMessage("Oh no! "..RandomPlayer.Name.." has been poisoned by the sandwich!")
  13.    
  14.     wait(5)
  15.    
  16.     BroadcastMessage("We'll have to carry on without then!")
  17.    
  18.     wait(5)
  19.    
  20.     script.CaveIn:Fire()
  21. end)
  22.  
  23. script:WaitForChild("CaveIn").Event:Connect(function()
  24.     Cave_Door.CanCollide = true
  25.     Cave_Door.Transparency = 0
  26.     Cave_Door.BrickColor = BrickColor.new("Mid gray")
  27.     Cave_Door.Material = Enum.Material.Cobblestone
  28.     Cave_Door.SelectionBox.Visible = false
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement