script.Parent.ClickDetector.MouseClick:connect(function(playerwhi)
playerwhi = playerwhi.Name
game.Players.playerwhi.leaderstats.Money = game.Players.playerwhi.leaderstats.Money + 100
end)
The problem I am having is that I don't know how to access the player when I try to do it it says 11:41:07.089 - playerwhi is not a valid member of Players Also this is not a local script

1 comment
Thanks!