Sword doesn't exist?

Let me get straight to the issue. So when I test, it throws an error stating sword doesn’t exist. However, it does exist, but it disappeared for some odd reason.

The sword location in explorer(does change from ServerStorage to Workspace by the way):
image

Problem snippet of code:

for i, pl in pairs(plrs) do
	local sword = script.Sword:Clone() -- the error location
	sword.Parent = pl.Backpack
end

Archivable is set to true as well.

Any help is quite appreciated.

You say that the location changes from ServerStorage to Workspace. Is it possible that the sword falls into the void when that happens? You might want to try storing the sword in ServerStorage, and having the script clone it from there.

1 Like

Would you mind posting the error message itself?

1 Like