Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- plr.Character.Humanoid.Animator:Destroy()
- local t = Instance.new('Sound' ,game.Workspace)
- t.SoundId = 'http://www.roblox.com/asset/?id=2248511'
- local Mouse = plr:GetMouse()
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'e' then
- local h = Instance.new('Part' ,game.Workspace)
- h.Material = 'Neon'
- h.Name = 'Bullet'
- h.BrickColor = BrickColor.new('Really black')
- h.Size = Vector3.new(1,1,4)
- h.Anchored = true
- h.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,0,-4.3)
- local function ontouch(hit)
- local r = Instance.new('Explosion' ,game.Workspace)
- r.ExplosionType = 'NoCraters'
- r.BlastRadius = 0
- r.Position = Vector3.new(h.Position.X,h.Position.Y,h.Position.Z)
- h:Destroy()
- hit.Parent.Humanoid.Health = 0
- hit:BreakJoints()
- t.Playing = true
- end
- h.Touched:connect(ontouch)
- while true do wait()
- h.CFrame = h.CFrame * CFrame.new(0,0,-3.4)
- end
- end
- end)
- plr = game.Players.LocalPlayer
- plr.Character.Humanoid.Animator:Destroy()
- local t = Instance.new('Sound' ,game.Workspace)
- t.SoundId = 'http://www.roblox.com/asset/?id=2248511'
- local Mouse = plr:GetMouse()
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'q' then
- local h = Instance.new('Part' ,game.Workspace)
- h.Material = 'Neon'
- h.Name = 'Bullet'
- h.BrickColor = BrickColor.new('Really black')
- h.Size = Vector3.new(1,1,4)
- h.Anchored = true
- h.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,0,-4.3)
- local function ontouch(hit)
- local r = Instance.new('Explosion' ,game.Workspace)
- r.ExplosionType = 'NoCraters'
- r.BlastRadius = 0
- r.Position = Vector3.new(h.Position.X,h.Position.Y,h.Position.Z)
- h:Destroy()
- hit.Parent.Humanoid.Health = 0
- hit:BreakJoints()
- t.Playing = true
- end
- h.Touched:connect(ontouch)
- while true do wait()
- h.CFrame = h.CFrame * CFrame.new(0,0,-3.4)
- end
- end
- end)
- --CREDITS ScriptingLua_LuaTeam
Advertisement
Add Comment
Please, Sign In to add comment