I have it setup as this script and a value named TextureId in a screengui. I want the sword the be clone into the local players backpack, and the textureid will be used to change the swords mesh texture id. Thx for reading this.
TextureId = 12597
if game.workspace.Gamestart.Value == true then
local sword = game.ReplicatedStorage.ClassicSword:Clone()
sword.Handle.Mesh.TextureId = script:WaitForChild("TextureId").Value
end

1 comment
Please stop posting duplicate question. This and your last two questions have been the same question, with just slightly updated code. Use the Comments feature and the Edit feature to update questions instead of asking them again.