Advertisement
alek_

RemoteEvent/RemoteFunction FIRING TEMPLATE FOR AUTO FARMING

Jul 18th, 2020
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. -- Made by Ubicast
  2.  
  3. local Remote = game:GetService("ReplicatedStorage") -- Put in the path here for the RemoteEvent or RemoteFunction
  4.  
  5. local MethodRE = FireServer -- RemoteEvent Firing
  6.  
  7. local MethodRF = InvokeServer -- RemoteFunction Firing
  8.  
  9. local Object = "" -- Name of the packed argument
  10.  
  11. while wait() do -- Looping method of fire with object to be fired (Cannot be broken)
  12.    
  13.     Remote:Method(Object) -- Change Method to the Method of the Remote
  14.    
  15. end -- End of loop, fires again right after ended
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement