--Impletion [awful coding i know]

wait()
explode=false
soundlock=false
lock=false
script.Parent.Activated:connect(function(click)
	if lock==false then
	lock=true
	local char=script.Parent.Parent
	local anim=char.Humanoid:LoadAnimation(script.Parent.Animation)
	anim:Play()
	wait(1.4)
	lock=false
	end
end)



script.Parent.Handle.Touched:connect(function(hit)
	local gethum=hit.Parent:GetChildren()
		for i=1,#gethum do
			if gethum[i].ClassName=="Humanoid" and gethum[i] ~= nil and hit.Parent.Name ~= game.Players.LocalPlayer.Name and lock==true then
				local hum=gethum[i]
				hum.Sit=true
				if soundlock==false then
					soundlock=true
					script.Parent.Smash:Play()
				end
			local character=hit.Parent
			local b=character:GetChildren()
				for i=1,#b do
					if b[i]:IsA("Part") and b[i] ~= nil then
						b[i].CanCollide=false
						b[i].Anchored=false
					end
				end
					local torso=hit.Parent:findFirstChild("Torso")
					character.Torso.Velocity=game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 1200 
					character.Torso.Velocity=character.Torso.Velocity + Vector3.new(0,300,0)
					wait(1.8)
					if explode==false then
						explode=true
						local expl=Instance.new("Explosion", workspace)
						expl.BlastPressure=9000000
						expl.BlastRadius=100
						expl.Position=torso.Position
						character:BreakJoints()
						local p=game.Players:GetPlayerFromCharacter(character)
						character:Destroy()
						if p ~= nil then
						p:Destroy()
						end
					end
				end
			end
	wait(1)
	soundlock=false
	explode=false
end)

script.Parent.Equipped:connect(function(equip)
	game.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
	game.Players.LocalPlayer.Character.Humanoid.Health=math.huge
	game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=25
end)
