Advertisement
demonone23

Auto Rebirth

Jul 10th, 2024
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | Gaming | 0 0
  1. local T = true -- Set to true to enable the script, false to disable
  2.  
  3. while true do
  4.     if T then
  5.         local player = game:GetService("Players").LocalPlayer
  6.         local money = player.Data.Stats.Money
  7.  
  8.         if money ~= 0 then
  9.             local args = {
  10.                 [1] = player
  11.             }
  12.  
  13.             game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Event"):WaitForChild("Rebirth"):FireServer(unpack(args))
  14.         end
  15.     end
  16.  
  17.     wait(0.1) -- Adjust the wait time as needed to avoid excessive checks
  18. end
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement