Apply Texture / Decal on Model / Tool AS it is one single Mesh

Im currently using this code (simplified rn):

for i, v in pairs(Gun:GetDescendants()) do
				if v:IsA("MeshPart") or v:IsA("BasePart") or v:IsA("Part") then
					
					if Skin.Texture == nil then
						v.Transparency = Skin.Transparency
					end
					
					for count = 0, 5 do
						local Texture = Instance.new("Texture")
						Texture.Name = "SkinTexture"
						Texture.ZIndex = Skin.ZIndex
						Texture.Texture = Skin.Texture
						Texture.StudsPerTileU = Skin.HorizontalSize.Value
						Texture.StudsPerTileV = Skin.VerticalSize.Value
						Texture.Face = count
						Texture.Parent = v
				end
			end
		end
	end

to achieve what is in the image below, just on every side.

what the problem is as the image below shows the textures are not seamless and you see it being another part of an texture and it overall looks bad (for exception some look good)
I came with the idea to do the same but on the model just to realise it didnt work, if there is any way i could just slap an decal or texture over an entire model that would be perfect since then the textures are alinged

TLDR, I want the texture to apply like the model is a mesh (no i cannot make it all a mesh and say good to go)

If you’re asking what this is for, its for skins in my Gun System

Thank you in advance :slight_smile:

2 Likes