How to make cash giving part in roblox studio
--Make a Part Name it Anything You Want
--Put This Script INSIDE The Part
--Put a Click Detector in
--Officially Made By Rigby#9052 on Discord :D
script.Parent.ClickDetector.MouseClick:Connect(function(player)
local PlayerPoints = player.leaderstats.Points --Chnage Points With Your Leaderstats Name
PlayerPoints.Value = PlayerPoints.Value + 5 --Chnage 5 With The Points You Wannt Give
--Ignore This Below One Only Use If You got 2 leaderstats
local PlayerExp = player.leaderstats.XP --Chnage Points With Your Leaderstats Name
PlayerExp.Value = PlayerExp.Value + 5 --Chnage 5 With The Points You Wannt Give
end) --Dm me On Discord if The Script Has Any Problems My Discord is Rigby#9052