local P=Instance.new("\080\097\114\116")do P.Name="\082\111\099\107\101\116"P.FormFactor=Enum.FormFactor.Custom P.Size=ROCKET_PART_SIZE P.CanCollide=false P.Anchored=true local x=Instance.new("\083\112\101\099\105\097\108\077\101\115\104",P)x.MeshId=MISSILE_MESH_ID x.Scale=MISSILE_MESH_SCALE local g=Instance.new("\070\105\114\101",P)g.Heat=5 g.Size=2 local U=SwooshSound:Clone()U.Parent=P local E=BoomSound:Clone()E.PlayOnRemove=true E.Parent=P local s=Instance.new("\079\098\106\101\099\116\086\097\108\117\101",P)s.Value=MyPlayer s.Name="\099\114\101\097\116\111\114"local F=Instance.new("\083\116\114\105\110\103\086\097\108\117\101",s)F.Value=Tool.TextureId F.Name="\105\099\111\110"local y=RocketScript:Clone()y.Parent=P y.Disabled=false end

local Rocket = Instance.new('Part') do
	-- Set up the rocket part
	Rocket.Name = 'Rocket'
	Rocket.FormFactor = Enum.FormFactor.Custom --NOTE: This must be done before changing Size
	Rocket.Size = ROCKET_PART_SIZE
	Rocket.CanCollide = false
	Rocket.Anchored = true	
	
	-- Add the mesh
	local mesh = Instance.new('SpecialMesh', Rocket)
	mesh.MeshId = MISSILE_MESH_ID
	mesh.Scale = MISSILE_MESH_SCALE

	-- Add fire
	local fire = Instance.new('Fire', Rocket)
	fire.Heat = 5
	fire.Size = 2
	
	-- Clone the sounds and set Boom to PlayOnRemove
	local swooshSoundClone = SwooshSound:Clone()
	swooshSoundClone.Parent = Rocket
	local boomSoundClone = BoomSound:Clone()
	boomSoundClone.PlayOnRemove = true
	boomSoundClone.Parent = Rocket

	-- Attach creator tags to the rocket early on
	local creatorTag = Instance.new('ObjectValue', Rocket)
	creatorTag.Value = MyPlayer
	creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
	local iconTag = Instance.new('StringValue', creatorTag)
	iconTag.Value = Tool.TextureId
	iconTag.Name = 'icon'

	-- Finally, clone the rocket script and enable it
	local rocketScriptClone = RocketScript:Clone()
	rocketScriptClone.Parent = Rocket
	rocketScriptClone.Disabled = false
end
