i'll explain this is a little bit confusing
first off my tool is filtering enabled friendly! so i don't know why it would break! when i put it on starterpack in the studio and play it on the game it works normally but when i clone it and put it in the backpack the server script isn't working. i know that the local script is working cause of the animation playing. i put a print() on the serverscript to see if it work but nothing is printing. so i checked in the game if the serverscript is inside the tool,and its there. so i checked if its disabled and its not disabled. Anyone help me please!
here's the whole code
game.ReplicatedStorage.Archer.OnServerEvent:Connect(function(plr) wait(1) local Weapon = game.ReplicatedStorage.Bow Weapon:Clone().Parent = plr.Backpack end) game.ReplicatedStorage.SwordsMan.OnServerEvent:Connect(function(plr) wait(1) local Weapon = game.ReplicatedStorage.PvPKatana:Clone() Weapon.Parent = plr.Backpack end)