Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My sword falls apart when cloned?

Asked by
zomspi 541 Moderation Voter
5 years ago

I am making a shop and when I clone my sword tool into backpack the sword is left on the ground and I am left holding the handle. The sword is welded because when I put it into starter pack it works fine. I am using a local script and this is the script:


local item = script.Parent local tool = game.ReplicatedStorage.WoodenSword local clonedTool = tool:Clone() item.MouseButton1Click:connect(function() clonedTool.Parent = game.Players.LocalPlayer.Backpack end)

Can anyone help? Thanks!

Answer this question