local Z=script.Parent:findFirstChild("\099\114\101\097\116\111\114")local R=script.Parent:findFirstChild("\077\111\118\101")local c=true function tagHumanoid(Z,R)if R~=nil then local c=R:clone()c.Parent=Z end end function onPlayerBlownUp(Z,R,c)if Z.Name=="\072\101\097\100"then local R=Z.Parent.Humanoid tagHumanoid(R,c)end end function set_Off(Z)if c==true then c=false explosion=Instance.new("\069\120\112\108\111\115\105\111\110")explosion.BlastRadius=25 explosion.BlastPressure=50000 local Z=script.Parent:findFirstChild("\099\114\101\097\116\111\114")if Z~=nil then explosion.Hit:connect(function(R,c)onPlayerBlownUp(R,c,Z)end)end explosion.Position=script.Parent.Position explosion.Parent=game.Workspace wait()script.Parent:remove()end end script.Parent.Touched:connect(set_Off)for Z=1,100,1 do wait()local c=Instance.new("\086\101\099\116\111\114\051\086\097\108\117\101")c.Value=script.Parent.CFrame.lookVector*2100 local k=c.Value-R.velocity if k.magnitude>=R.velocity.magnitude then R.velocity=R.velocity+k*(.01*Z)end end

local creator = script.Parent:findFirstChild("creator")
local move = script.Parent:findFirstChild("Move")

local active = true

function tagHumanoid(humanoid, creator)
	if creator ~= nil then
		local new_tag = creator:clone()
		new_tag.Parent = humanoid
	end
end

function onPlayerBlownUp(part, distance, creator)
	if part.Name == "Head" then
		local humanoid = part.Parent.Humanoid
		tagHumanoid(humanoid, creator)
	end
end

function set_Off(hit)
	if active == true then
		active = false
		explosion = Instance.new("Explosion")
		explosion.BlastRadius = 25
		explosion.BlastPressure = 50000

		local creator = script.Parent:findFirstChild("creator")
		if creator ~= nil then
			explosion.Hit:connect(function(part, distance)  onPlayerBlownUp(part, distance, creator) end)
		end

		explosion.Position = script.Parent.Position
		explosion.Parent = game.Workspace
		wait()
		script.Parent:remove()
	end
end
script.Parent.Touched:connect(set_Off)

for i = 1,100 do
	wait()
	local desired = Instance.new("Vector3Value")
	desired.Value = script.Parent.CFrame.lookVector * 2100

	local difference = desired.Value - move.velocity

	if difference.magnitude >= move.velocity.magnitude then
		move.velocity = move.velocity + (difference*(0.01*i))
	end
end
