I made this terrible code in attempts to make a script to give each player his/her own texture for a sword used here: Please help me correct it (AND I KNOW ITS WAY AND AND TERRIBLE :/ )
if game.workspace.Gamestart.Value == true then
game.ReplicatedStorage.ClassicSword:Clone(localPlayer.BackPack)
sword = script:FindFirstChild("TextureId")
sword.Handle.Mesh.TextureId = (TextureId)
end

1 comment
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.