Answers for "How to make cash giving part in roblox studio"

0

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
Posted by: Guest on October-19-2020

Code answers related to "How to make cash giving part in roblox studio"

Browse Popular Code Answers by Language