hello i am trying to make a cash for kill script for my pvp game, the tutorials on youtube only work with free model weapons
game.Players.PlayerAdded:Connect(function(player) local stats = Instance.new("IntValue",player) stats.Name = "leaderstats" local cash = Instance.new("IntValue",stats) cash.Name = "Cash" cash.Value = 0 player.CharacterAdded:Connect(function(character) print(character) character.Humanoid.Died:Connect(function() --cash for kill end) end) end)