https://prnt.sc/s7dl1n ^^ Picture of my issue
The left is the script applying the TextureID to my mesh while the right is me manually applying it. This is the script I use to change a mesh without a TextureID to one with one:
y.Parent.Scoop.TextureID = "rbxassetid://4949964529"
It's really simple so I don't know why it's not working properly.

5 comments
put parenthesis
You dont need parenthesis.
Addying explain your question properly so I can help you.
If you take a look at the link to the picture you can see that it is not adjusting the texture to the mesh properly, while when I don't use the script and use the same textureID in Roblox Studio it fits the mesh perfectly.
What face is the texture on when you apply it, and when the script does?