Advertisement
PercentBowl

Rem Spawn Prison Life?

Apr 9th, 2020
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. local handler = workspace.Remote.ItemHandler
  2. local giver = workspace.Prison_ITEMS.giver
  3.  
  4.  
  5. function GetGun(GunName)
  6.     for _,gun in pairs(giver:GetChildren()) do
  7.         if gun.Name:lower():find(GunName:lower()) == 1 then
  8.             handler:InvokeServer(gun.ITEMPICKUP)
  9.         end
  10.     end
  11. end
  12.  
  13.  
  14. GetGun("remi")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement