function CreatePart(Q,B,Z,X,n,y,j,l,v)local d=IT("\080\097\114\116")d.formFactor=Q d.Reflectance=X d.Transparency=n d.CanCollide=false d.Locked=true d.Anchored=true if v==false then d.Anchored=false end d.BrickColor=BRICKC(tostring(y))d.Name=j d.Size=l d.Position=TORSO.Position d.Material=Z d:BreakJoints()d.Parent=B return d end function Raycast(Q,B,Z,X)return workspace:FindPartOnRay(Ray.new(Q,B.unit*Z),X)end
--//=================================\\
--|| 			FUNCTIONS
--\\=================================//

function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
	local NEWPART = IT("Part")
	NEWPART.formFactor = FORMFACTOR
	NEWPART.Reflectance = REFLECTANCE
	NEWPART.Transparency = TRANSPARENCY
	NEWPART.CanCollide = false
	NEWPART.Locked = true
	NEWPART.Anchored = true
	if ANCHOR == false then
		NEWPART.Anchored = false
	end
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
	NEWPART.Name = NAME
	NEWPART.Size = SIZE
	NEWPART.Position = TORSO.Position
	NEWPART.Material = MATERIAL
	NEWPART:BreakJoints()
	NEWPART.Parent = PARENT
	return NEWPART
end

function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
end
