Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local handler = workspace.Remote.ItemHandler
- local giver = workspace.Prison_ITEMS.giver
- function GetGun(GunName)
- for _,gun in pairs(giver:GetChildren()) do
- if gun.Name:lower():find(GunName:lower()) == 1 then
- handler:InvokeServer(gun.ITEMPICKUP)
- end
- end
- end
- GetGun("remi")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement