Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tool = Instance.new("Tool",owner.Backpack)
- tool.Name = [["1. Denial"]]
- part = Instance.new("Part",tool)
- part2 = Instance.new("Part",tool)
- part2.Transparency = 1
- part.Name = "Handle"
- part.Size = Vector3.new(0.91, 0.972, 0.353)
- part2.Size = Vector3.new(0.65, 1.25, 0.65)
- part2.CanCollide = false
- tool.Grip = CFrame.new(0.25,0,0) * CFrame.Angles(0,math.rad(90),math.rad(-90))
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = part
- Mesh.MeshId = "http://www.roblox.com/asset/?id=6059534131"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=6059534159"
- denied = Instance.new("Sound",part)
- denied.SoundId = "http://www.roblox.com/asset/?id=8502862384"
- denied.Volume = 1
- stamp = Instance.new("Sound",part)
- stamp.SoundId = "http://www.roblox.com/asset/?id=521293072"
- stamp.Volume = 1
- local weld2 = Instance.new("Weld",part)
- weld2.Part0 = part2
- weld2.Part1 = part
- weld2.C0 = CFrame.new(0.536,0,0)
- weld = nil
- owner = nil
- tool.Equipped:Connect(function()
- owner = game:GetService("Players"):GetPlayerFromCharacter(tool.Parent)
- weld = Instance.new("Weld",owner.Character.Torso)
- weld.Part0 = owner.Character["Right Arm"]
- weld.Part1 = owner.Character.Torso
- weld.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.Angles(math.rad(-90),0,0)
- end)
- tool.Unequipped:Connect(function()
- weld:Destroy()
- end)
- canattack = false
- tool.Activated:Connect(function()
- if not canattack then
- canattack = true
- local TweenService = game:GetService("TweenService")
- local goal = {}
- goal.C0 = CFrame.new(-1.5, 1.25, 0.5) * CFrame.Angles(math.rad(-90),0,0)
- local tweenInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true,0)
- local tween = TweenService:Create(weld, tweenInfo, goal)
- tween:Play()
- wait(.75)
- canattack = false
- end
- end)
- part2.Touched:Connect(function(hit)
- if hit:FindFirstAncestorOfClass("Model") then
- if canattack then
- canattack = false
- local who = hit:FindFirstAncestorOfClass("Model")
- stamp:Play()
- stamp.Ended:Wait()
- wait(0.25)
- denied:Play()
- denied.Ended:Wait()
- local NOOO = Instance.new("Sound",hit)
- NOOO.SoundId = "http://www.roblox.com/asset/?id=4197502822"
- NOOO.Volume = 1.5
- NOOO.TimePosition = 0.1
- NOOO:Play()
- wait(0.5)
- for i,v in pairs(who:GetDescendants()) do
- if v:IsA("BasePart") then
- v:Destroy()
- end
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment