I'm working on a saving system for my RPG. I've got the script below that is fired by an event.
game.Lighting.ServerEvents.SpawnWeaponShop.T1S1.OnServerEvent:connect(function(Player)
game.Players[Player.Name].leaderstats.Gold.Value - 150
local Weapon = game.ReplicatedStorage.ITEMS.BrigandSword:Clone()
Weapon.Parent = Player.StarterGear
end)
It works in studio, but not in-game. What could I do to make it work in-game?

2 comments
Yes, that is the ServerSided script running that and I'm trying to get the tool into StarterGear. Is that not possible?
Startgear only works when the player joins the game. You should change Weapon.Parent to player’s backpack.