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)

2 comments

0

why would that impact their ability to work with your own weapons?

0

huh? i dont know how to add a "creator" value so maybe thats the issue