I'm not a good scripter, And I've played the game Attack of the Ninja Masters by roblox or something like that. They can change their weapons as you fight them. I'd also like to know how to make a blood puddle when someone gets hurt script that goes away after 1 minute.
It would be best to make a script inside the Mesh of the weapon and make a while true do statement. I don't think the swords power changes, but maybe the Mesh does. Try this.
meshs = {"",""} meshtxture = {"",""} mesh = script.Parent while true do wait() for i,v in pairs (meshs) do for i,c in pairs (meshtxture) do wait(60) mesh.MeshId = "http://www.roblox.com/asset/?id="..v mesh.MeshTexture = "http://www.roblox.com/asset/?id="..c wait() end end end
A good solution for your changing problem is to have a script in the NPC that removes the weapon, then clones a tool from lighting into the NPC to replace it.
Upon death, a script should activate when the Humanoid.Health = 0, and spawn a part underneath the body that's a parent of workspace. Wait(60) and then do INSERTNAMEHERE:Remove()