Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player=game.Workspace.xc_bm
- local lplr = game.Players.LocalPlayer
- Torso=Player.Torso
- function test()
- local S = Instance.new("Explosion",Player)
- S.Position = Torso.Position
- S.BlastPressure = 1
- S.BlastRadius = 1
- S.ExplosionType = 1
- local sou = Instance.new("Sound",workspace)
- sou.Volume=100
- sou.Pitch=1
- sou.SoundId = "rbxassetid://5639677185"
- sou.Looped = false
- wait()
- sou:play()
- wait(0.5)
- Player:Destroy()
- end
- local UIS = game:GetService("UserInputService")
- UIS.InputBegan:Connect(function(Key)
- if Key.keyCode == Enum.KeyCode.F then
- test()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement