I want this 1 script to make it so that whenever someone touches a part in a certain model, they get cash (so i do not need scripts in each part) This is what I have so far but it does not work.
Bananas = game.Workspace.Bananas:GetChildren()
Bananas.Touched:connect(function(hit)
local User = game.Players:GetPlayerFromCharacter(hit.Parent)
User.Data.Bananas.Value = User.Data.Bananas.Value + 1
end)
