The MeshId and TextureId require an asset link rather than a sole number.
The short version of such links looks like this: rbxassetid://<actual_id>, for example rbxassetid://123.
Regarding the texure ID, make sure you’re using the image ID rather than the decal ID.
Also read what XAXA said. To add on to it, there’s typically a description of the actual error in the console. IIRC, trying to edit a MeshPart’s MeshId actually prints something like “MeshIds cannot be changed at runtime”.
… If you need a walkthrough on how to do this with a Part/SpecialMesh, you can delete your mesh-making code (side note, you’re not actually rotating the mesh with your code, but the part you created above it) and replace it with this:
local specialMesh = Instance.new("SpecialMesh")
specialMesh.MeshId = "rbxassetid://152974867"
specialMesh.TextureId = "rbxassetid://152974868"
specialMesh.MeshType = Enum.MeshType.FileMesh
specialMesh.Parent = part