Rocket.CanCollide=false;(Tool.Note:clone()).Parent=Rocket;(Tool.RocketScript:clone()).Parent=Rocket function fire(F)local u=Tool.Parent local A=Tool:findFirstChild("\072\097\110\100\108\101")if A==nil then print("\072\097\110\100\108\101 \110\111\116 \102\111\117\110\100")return end local l=nil if Tool.mode.Value==1 then l=Tool.uno:clone()elseif Tool.mode.Value==2 then l=Tool.dos:clone()elseif Tool.mode.Value==3 then l=Tool.tres:clone()elseif Tool.mode.Value==4 then l=Tool.cuatro:clone()elseif Tool.mode.Value==5 then l=Tool.cinco:clone()elseif Tool.mode.Value==6 then l=Tool.seis:clone()elseif Tool.mode.Value==7 then l=Tool.siete:clone()end l.Name="\099\104\111\114\100"local I=(Vector3.new(math.random()-.5,1,math.random()-.5)).unit local H=Rocket:clone()l.Parent=H local i=A.Position+Vector3.new(0,5,0)H.CFrame=CFrame.new(i,i+I)H.BodyVelocity.velocity=I*30 local o=game.Players:playerFromCharacter(u)if o==nil then print("\080\108\097\121\101\114 \110\111\116 \102\111\117\110\100")end H.RocketScript.Disabled=false H.Parent=game.Workspace end Tool.Enabled=true function onActivated()if not Tool.Enabled then return end Tool.Enabled=false local F=Tool.Parent local u=F.Humanoid if u==nil then print("\072\117\109\097\110\111\105\100 \110\111\116 \102\111\117\110\100")return end local A=u.TargetPoint fire(A)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 = nil

	if Tool.mode.Value == 1 then
		chord = Tool.uno:clone()
	elseif Tool.mode.Value == 2 then
		chord = Tool.dos:clone()
	elseif Tool.mode.Value == 3 then
		chord = Tool.tres:clone()
	elseif Tool.mode.Value == 4 then
		chord = Tool.cuatro:clone()
	elseif Tool.mode.Value == 5 then
		chord = Tool.cinco:clone()
	elseif Tool.mode.Value == 6 then
		chord = Tool.seis:clone()
	elseif Tool.mode.Value == 7 then
		chord = Tool.siete: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

	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)
