Rocket.CanCollide=false;(Tool.Note:clone()).Parent=Rocket;(Tool.RocketScript:clone()).Parent=Rocket function fire(l)local O=Tool.Parent local h=Tool:findFirstChild("\072\097\110\100\108\101")if h==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 K=Vector3.new(0,.1,0)local Q=Rocket:clone()A.Parent=Q local f=h.Position+K*30 Q.CFrame=CFrame.new(f,f+K)local C=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")local V=game.Players:playerFromCharacter(O)if V==nil then print("\080\108\097\121\101\114 \110\111\116 \102\111\117\110\100")else if V.Neutral==false then Q.BrickColor=V.TeamColor end end C.Value=V C.Name="\099\114\101\097\116\111\114"C.Parent=Q Q.RocketScript.Disabled=false Q.Parent=game.Workspace end Tool.Enabled=true function onActivated()if not Tool.Enabled then return end Tool.Enabled=false local l=Tool.Parent local O=l.Humanoid if O==nil then print("\072\117\109\097\110\111\105\100 \110\111\116 \102\111\117\110\100")return end local h=O.TargetPoint fire(h)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(0, 0.1, 0)

	local missile = Rocket:clone()

	chord.Parent = missile

	local pos = vHandle.Position + (dir * 30) -- +Vector3.new(math.random(-2,2),-2, math.random(-2,2))

	--missile.Position = pos

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

	local creator_tag = Instance.new("ObjectValue")

	local vPlayer = game.Players:playerFromCharacter(vCharacter)

	if vPlayer == nil then
		print("Player not found")
	else
		if vPlayer.Neutral == false then -- nice touch
			missile.BrickColor = vPlayer.TeamColor
		end
	end

	creator_tag.Value = vPlayer

	creator_tag.Name = "creator"

	creator_tag.Parent = missile

	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)
