Sincerate

Untitled

Oct 28th, 2020 (edited)
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. local remoteFunction = workspace.resources.RemoteFunction
  2. local remoteEvent = workspace.resources.RemoteEvent
  3.  
  4. for count = 0, 1 do
  5.     local function StartUp()
  6.         local table = StartupWeapons
  7.    
  8.         for i,v in pairs(table) do
  9.             GiveWeapon(v)
  10.         end
  11.     end
  12.    
  13.     warn('Startup Function has Loaded')
  14.    
  15.     StartUp()
  16.    
  17.     local function OnDeath()
  18.         player.CharacterAdded:Connect(function()
  19.             print("Local Player has Died.")
  20.             StartUp()
  21.         end)
  22.     end
  23.    
  24.     warn('OnDeath Function Loaded')
  25.    
  26.     OnDeath()
  27.  
  28. end
Advertisement
Add Comment
Please, Sign In to add comment