Advertisement
TheUnknownDiscord

new year bomb

Dec 31st, 2021
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. e = Instance.new("RemoteEvent",owner.Character)
  2. e.Name = "the"
  3. dead = Instance.new("Sound", owner.Character.Head)
  4. dead.Volume = 10
  5. dead.SoundId = "rbxassetid://3103862943"
  6. owner.Character.Humanoid.MaxHealth = math.huge * math.huge
  7. function the(plr,action)
  8. dead:Play()
  9. owner.Character.Head:Explode()
  10. end
  11. e.OnServerEvent:Connect(the)
  12. NLS([[
  13. db = false
  14. e = owner.Character:WaitForChild("the")
  15. while true do
  16. local TimeInUnix = os.time()
  17.  
  18. local stringToFormat = "%I:%M %p"
  19.  
  20. local result = os.date(stringToFormat, TimeInUnix)
  21. if result:find("12:00 AM") then
  22. if not db then
  23. db = true
  24. e:FireServer("the")
  25. end
  26. end
  27. wait(1)
  28.  
  29. end
  30. ]],owner.PlayerGui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement