Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- _____ _____ ____ _______ ____ _________ _______ ______
- -- | __ \| __ \ / __ \__ __/ __ \__ __\ \ / / __ \| ____|
- -- | |__) | |__) | | | | | | | | | | | | \ \_/ /| |__) | |__
- -- | ___/| _ /| | | | | | | | | | | | \ / | ___/| __|
- -- | | | | \ \| |__| | | | | |__| | | | | | | | | |____
- -- |_| |_| \_\\____/ |_| \____/ |_| |_| |_| |______|
- -- \\Tohru\\PneumaOffical\\Luminous
- Library = loadstring(game:HttpGet("https://pastebin.com/raw/xAF8tVui", true))()
- prefix = ';'
- function has(sample, text)
- sample = sample or "Sample Text"
- text = text or "Sample"
- if (string.match(sample, text) and true or false) then
- return true
- else
- return false
- end
- end
- function cmdcheck(input, cmd, checktype)
- if checktype == "multiple" or checktype == "m" then
- if has(input:lower(), prefix..""..cmd.." ") and input:sub(1,1) == prefix and input:sub(2, (cmd):len() + 1) == cmd then
- return true
- else
- return false
- end
- elseif checktype == "single" or checktype == "s" then
- if input == prefix..""..cmd then
- return true else return false
- end
- end
- end
- function getstring(input, cmd)
- return input:sub(prefix:len() + cmd:len() + 2 )
- end
- game:GetService("Players").LocalPlayer.Chatted:Connect(function(msg)
- if cmdcheck(msg, "download", "m") then
- msg = getstring(msg, "download")
- Library["Functions"].AddPlugin(msg)
- end
- if cmdcheck(msg, "list", "s") then
- Library["Functions"].ListPlugins()
- end
- end)
- Library["Functions"].Notify("Plugin Library loaded!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement