I need help make a Part That when you touch it Gives You money that works with filtering enabled please send a video script or anything that might help
thx danielevilgamer12
I need help make a Part That when you touch it Gives You money that works with filtering enabled please send a video script or anything that might help
thx danielevilgamer12
local player = game.Players.LocalPlayer
local playermoney = player.leaderstats.[MONEY NAME HERE]
local time1 = [[INCERT TIME TO WAIT BEFORE GIVING MONEY AGAIN HERE]]
script.Parent.Touched:connect(function()
playermoney.Value = playermoney.Value + [[INCERT MONEY VALUE HERE]]
wait(time1)
end)
This should hopefully fix your problem.
Edit: I made it look this way so it's not any more confusing. :D
Your the Best
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
It should work with filtering enabled as long as its not a local script. You "may" need to use remote events though.