Advertisement
Synpase_X

hm

Mar 7th, 2023 (edited)
844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. Player=game.Workspace.xc_bm
  2. local lplr = game.Players.LocalPlayer
  3. Torso=Player.Torso
  4.  
  5. function test()
  6. local S = Instance.new("Explosion",Player)
  7. S.Position = Torso.Position
  8. S.BlastPressure = 1
  9. S.BlastRadius = 1
  10. S.ExplosionType = 1
  11. local sou = Instance.new("Sound",workspace)
  12. sou.Volume=100
  13. sou.Pitch=1
  14. sou.SoundId = "rbxassetid://5639677185"
  15. sou.Looped = false
  16. wait()
  17. sou:play()
  18. wait(0.5)
  19. Player:Destroy()
  20. end
  21.  
  22. local UIS = game:GetService("UserInputService")
  23.  
  24. UIS.InputBegan:Connect(function(Key)
  25.     if Key.keyCode == Enum.KeyCode.F then
  26.     test()
  27.     end
  28.     end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement