local D=script.Parent local d=Instance.new("\083\111\117\110\100")d.Name="\071\108\097\115\115\066\114\101\097\107"d.SoundId="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\054\057\055\054\049\056\057"d.Volume=1 d.Parent=D.Handle function onActivated()if not D.Enabled then return end D.Enabled=false wait(1)local c=game.Players:GetPlayerFromCharacter(D.Parent)local J=D.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")if J==nil or c==nil then D.Enabled=true return end local K=D.Parent local r=K:FindFirstChild("\084\111\114\115\111")or K:FindFirstChild("\085\112\112\101\114\084\111\114\115\111")local b=K:FindFirstChild("\082\105\103\104\116 \065\114\109")or K:FindFirstChild("\082\105\103\104\116\085\112\112\101\114\065\114\109")local f=r:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")or b:FindFirstChild("\082\105\103\104\116\083\104\111\117\108\100\101\114")local u=D.Handle:Clone()d.Parent=u u.Transparency=0 f.MaxVelocity=.7 f.DesiredAngle=3.6 wait(.1)f.MaxVelocity=1 local k=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")k.Value=c k.Name="\084\111\115\115\101\114"k.Parent=u local z=J.Parent.Head.CFrame.lookVector u.Velocity=z*70+Vector3.new(0,70,0)u.CanCollide=true;(D.Glass:Clone()).Parent=u u.Glass.Disabled=false u.Parent=game.Workspace wait(14)u.Transparency=1 D.Enabled=true end function onEquipped() end script.Parent.Activated:connect(onActivated)script.Parent.Equipped:connect(onEquipped)

local Tool = script.Parent;




local GlassBreak = Instance.new("Sound")
GlassBreak.Name = "GlassBreak"
GlassBreak.SoundId = "http://www.roblox.com/asset/?id=16976189"
GlassBreak.Volume = 1
GlassBreak.Parent = Tool.Handle





function onActivated()
	if not Tool.Enabled  then
		return
	end

	Tool.Enabled = false
	

	wait(1)
	
	local player = game.Players:GetPlayerFromCharacter(Tool.Parent)
	local h = Tool.Parent:FindFirstChild("Humanoid")
	if (h == nil or player == nil) then
		Tool.Enabled = true
		return
	end

	
	local Character = Tool.Parent
	local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
	local RightArm = Character:FindFirstChild("Right Arm") or Character:FindFirstChild("RightUpperArm")
	local RightShoulder = Torso:FindFirstChild("Right Shoulder") or RightArm:FindFirstChild("RightShoulder")

	local p = Tool.Handle:Clone()
	GlassBreak.Parent = p
	p.Transparency = 0
	
	RightShoulder.MaxVelocity = 0.7
	RightShoulder.DesiredAngle = 3.6
	wait(.1)
	RightShoulder.MaxVelocity = 1

	local tosser = Instance.new("ObjectValue")
	tosser.Value = player
	tosser.Name = "Tosser"
	tosser.Parent = p

	local dir = h.Parent.Head.CFrame.lookVector
	p.Velocity = (dir * 70) + Vector3.new(0,70,0)
	p.CanCollide = true
	Tool.Glass:Clone().Parent = p
	p.Glass.Disabled = false
	p.Parent = game.Workspace

	wait(14)
	p.Transparency = 1
	Tool.Enabled = true

end

function onEquipped()
	--Tool.Handle.OpenSound:play()
end

script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(onEquipped)
