So I've been working on this for about 3 hours now. I'm trying to clone a sword from ReplicatedStorage to the player's Backpack through a server script. No errors or anything show up when I execute the code, it just does nothing.
local supersword2 = game.ReplicatedStorage.ClassicSword for _,v in pairs{game.Players:GetPlayerFromCharacter(script.Parent)} do supersword2:Clone().Parent = v.Backpack end end;

1 comment
The player returned nil when I used that script, is there something I'm missing?