Jump to content
LOOKING FOR ROBLOX ASSETS? VISIT ROBLOXBAY.COM! ×
THE BEST DISCORD BACKUP BOT | PRESERVE YOUR DISCORD SERVER! ×

RobloxBay

Visit Site

FiveSecured

 

Stop shipping plaintext. FiveSecured encrypts, obfuscates, and licenses your Lua resources so customers run your work without ever holding your source.

Try for Free

azlovesjoey11

Snail
  • Posts

    10
  • Joined

  • Last visited

Everything posted by azlovesjoey11

  1. Doesn't work because it is missing the server.lua Create a server.lua and enter this code it works, this is the server.lua that comes w the file because they don't fxap lock their scripts local steamID local discordID RegisterCommand(Config.command, function(source) TriggerClientEvent('ar:drugMenu:openMenu', source, source) end) RegisterNetEvent('ar:drugScript:giveTheDrugsServer') AddEventHandler('ar:drugScript:giveTheDrugsServer', function (targetIDD, drugToGive, givenDosage, maxDosage, senderVector) TriggerClientEvent('ar:drugScript:giveTheDrugs', targetIDD, drugToGive, givenDosage, maxDosage, senderVector) end) RegisterNetEvent('ar:drugScript:takeTheDrugsServer') AddEventHandler('ar:drugScript:takeTheDrugsServer', function (drugToGive, givenDosage, maxDosage) local src = source TriggerClientEvent('ar:drugScript:giveTheDrugs', src, drugToGive, givenDosage, maxDosage) end) RegisterNetEvent('ar:drugScript:RegisterUser') AddEventHandler('ar:drugScript:RegisterUser', function() local src = source for k,v in pairs(GetPlayerIdentifiers(source))do if string.sub(v, 1, string.len("steam:")) == "steam:" then steamid = v steamID = string.sub(steamid, 7, i) elseif string.sub(v, 1, string.len("discord:")) == "discord:" then discord = v discordID = string.sub(discord, 9, i) end end if Config.whitelistMedicalUse then -- STEAM CHECK if steamID then for i=1, #Config.MedicalUse.steamID, 1 do if Config.MedicalUse.steamID[i] ~= "" then if Config.MedicalUse.steamID[i] == steamID then TriggerClientEvent("ar:drugMenu:allowMedic", src) end end end end -- DISCORD ID if discordID then for i=1, #Config.MedicalUse.discordID, 1 do if Config.MedicalUse.discordID[i] ~= "" then if Config.MedicalUse.discordID[i] == discordID then TriggerClientEvent("ar:drugMenu:allowMedic", src) end end end end -- ACE PERM for i=1, #Config.MedicalUse.acePerm, 1 do if Config.MedicalUse.acePerm[i] ~= "" then if IsPlayerAceAllowed(src, Config.MedicalUse.acePerm[i]) then TriggerClientEvent("ar:drugMenu:allowMedic", src) end end end -- DISCORD ROLE if discordID then for i=1, #Config.MedicalUse.DiscordRole, 1 do if Config.MedicalUse.DiscordRole[i] ~= "" then local roleIDs = exports.Badger_Discord_API:GetDiscordRoles(src) if not (roleIDs == false) then for j = 1, #roleIDs do if exports.Badger_Discord_API:CheckEqual(Config.MedicalUse.DiscordRole[i], roleIDs[j]) then TriggerClientEvent("ar:drugMenu:allowMedic", src) end end end end end end else TriggerClientEvent("ar:drugMenu:allowMedic", src) end if Config.whitelistRecreationalUse then -- STEAM CHECK if steamID then for i=1, #Config.RecreationalUse.steamID, 1 do if Config.RecreationalUse.steamID[i] ~= "" then if Config.RecreationalUse.steamID[i] == steamID then TriggerClientEvent("ar:drugMenu:allowRec", src) end end end end -- DISCORD ID if discordID then for i=1, #Config.RecreationalUse.discordID, 1 do if Config.RecreationalUse.discordID[i] ~= "" then if Config.RecreationalUse.discordID[i] == discordID then TriggerClientEvent("ar:drugMenu:allowRec", src) end end end end -- ACE PERMS for i=1, #Config.RecreationalUse.acePerm, 1 do if Config.RecreationalUse.acePerm[i] ~= "" then if IsPlayerAceAllowed(src, Config.RecreationalUse.acePerm[i]) then TriggerClientEvent("ar:drugMenu:allowRec", src) end end end -- DISCORD ROLE if discordID then for i=1, #Config.RecreationalUse.DiscordRole, 1 do if Config.RecreationalUse.DiscordRole[i] ~= "" then local roleIDs = exports.Badger_Discord_API:GetDiscordRoles(src) if not (roleIDs == false) then for j = 1, #roleIDs do if exports.Badger_Discord_API:CheckEqual(Config.RecreationalUse.DiscordRole[i], roleIDs[j]) then TriggerClientEvent("ar:drugMenu:allowRec", src) end end end end end end else TriggerClientEvent("ar:drugMenu:allowRec", src) end end)
  2. Yeah I found it, though it doesn't work.
  3. Can u see if u can get their gfx stream file for the addon weapons in the weapon wheel?
  4. U should dump Paradise State Roleplay nobody has done that server in a while
  5. It shows up wierd, is this just me?
  6. $22 Is outrageous for a simple Glock, whoever tf the creator & seller of this weapon is a fucking idiot this shit is a good gun but not worth nearly $30.
×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy