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

Copying Weapons to a Players backpack Gets a random error?

Asked by 8 years ago
local store = game.ServerStorage

game.Players.PlayerAdded:connect(function(player)
    if player.Name == "xlaser23" then
        player.CharacterAdded:connect(function(char)
            local s = store.NuclearBomb:Clone()
            s.Parent = player.Backpack
        end)
    end
end)

Its suppose to be Clone

But the OutPut says

21:45:18.557 - Workspace cannot be cloned

Answer this question