So, whenever the player touches the parent this error comes out. Script:4: attempt to index local 'plr' (a nil value)
script.Parent.Touched:Connect(function(hit)
local pService = game:GetService("Players")
local plr = pService:GetPlayerFromCharacter(hit.Parent)
plr.leaderstats.Money.Value = plr.leaderstats.Money.Value + plr.templeaderstats.moneyCollected.Value
end)
In an older game I used a different system which worked but is way too complicated and old to use for a 2019 simulator.

3 comments
after plr put "if not plr then return end" or put if plr then ... end
@yHasteeD Still not working.
Posted a answer.