I placed it in starterplayerscripts in localscript, but it still dont work I tried to put it in serverscriptservice but it still don't work Pls help!
local Players = game:GetService("Players") local plr = Players.LocalPlayer
local PlayerMoneyValue = plr.leaderstats.Reality
while true do wait(0.5)
if PlayerMoneyValue.Value >= 0 then
local char = plr.Character
if not char then continue end
char.Humanoid:Takedamage(10)
end
end

4 comments
Uhhhh
But where do i put it tho?
you can paste that into a script in serverscriptservice
oh tysm it worked