Rocket.CanCollide=false;(Tool.Note:clone()).Parent=Rocket;(Tool.RocketScript:clone()).Parent=Rocket function fire(V)local S=Tool.Parent local W=Tool:findFirstChild("\072\097\110\100\108\101")if W==nil then print("\072\097\110\100\108\101 \110\111\116 \102\111\117\110\100")return end local A=Tool.Ichord:clone()if Tool.mode.Value==1 then A=Tool.Ichord:clone()elseif Tool.mode.Value==2 then A=Tool.IVIIchord:clone()elseif Tool.mode.Value==3 then A=Tool.Vchord:clone()elseif Tool.mode.Value==4 then A=Tool.VVIIchord:clone()elseif Tool.mode.Value==5 then A=Tool.IVchord:clone()elseif Tool.mode.Value==6 then A=Tool.IIIchord:clone()end A.Name="\099\104\111\114\100"local y=(Vector3.new(math.random()-.5,1,math.random()-.5)).unit local R=Rocket:clone()A.Parent=R;(script.Parent.pitchmode:Clone()).Parent=R local m=W.Position+Vector3.new(0,5,0)R.CFrame=CFrame.new(m,m+y)R.BodyVelocity.velocity=y*30 local U=game.Players:playerFromCharacter(S)if U==nil then print("\080\108\097\121\101\114 \110\111\116 \102\111\117\110\100")end R.RocketScript.Disabled=false R.Parent=game.Workspace end Tool.Enabled=true function onActivated()if not Tool.Enabled then return end Tool.Enabled=false local V=Tool.Parent local S=V.Humanoid if S==nil then print("\072\117\109\097\110\111\105\100 \110\111\116 \102\111\117\110\100")return end local W=S.TargetPoint fire(W)Tool.Enabled=true end script.Parent.Activated:connect(onActivated)
Rocket.CanCollide = false

Tool.Note:clone().Parent = Rocket

Tool.RocketScript:clone().Parent = Rocket

--Tool.Explosion:clone().Parent = Rocket

--Tool.Swoosh:clone().Parent = Rocket

function fire(vTarget)
	local vCharacter = Tool.Parent

	local vHandle = Tool:findFirstChild("Handle")

	if vHandle == nil then
		print("Handle not found")

		return
	end

	local chord = Tool.Ichord:clone()

	if Tool.mode.Value == 1 then
		chord = Tool.Ichord:clone()
	elseif Tool.mode.Value == 2 then
		chord = Tool.IVIIchord:clone()
	elseif Tool.mode.Value == 3 then
		chord = Tool.Vchord:clone()
	elseif Tool.mode.Value == 4 then
		chord = Tool.VVIIchord:clone()
	elseif Tool.mode.Value == 5 then
		chord = Tool.IVchord:clone()
	elseif Tool.mode.Value == 6 then
		chord = Tool.IIIchord:clone()
	end

	chord.Name = "chord"

	local dir = Vector3.new(math.random() - 0.5, 1, math.random() - 0.5).unit

	local missile = Rocket:clone()

	chord.Parent = missile
	script.Parent.pitchmode:Clone().Parent = missile

	local pos = vHandle.Position + Vector3.new(0, 5, 0)

	--missile.Position = pos

	missile.CFrame = CFrame.new(pos, pos + dir)

	missile.BodyVelocity.velocity = dir * 30

	local vPlayer = game.Players:playerFromCharacter(vCharacter)

	if vPlayer == nil then
		print("Player not found")
	end

	missile.RocketScript.Disabled = false

	missile.Parent = game.Workspace
end

Tool.Enabled = true

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

	Tool.Enabled = false

	local character = Tool.Parent

	local humanoid = character.Humanoid

	if humanoid == nil then
		print("Humanoid not found")

		return
	end

	local targetPos = humanoid.TargetPoint

	fire(targetPos)

	Tool.Enabled = true
end

script.Parent.Activated:connect(onActivated)
