Skip to content

An Admin API that utilizes Infinite Yield's command handler

Notifications You must be signed in to change notification settings

Toon-arch/Admin-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

local AdminAPI = loadstring(game:HttpGet("https://raw.githubusercontent.com/Toon-arch/Admin-API/main/api.lua"))()

some trash example:

local AdminAPI = loadstring(game:HttpGet("https://raw.githubusercontent.com/Toon-arch/Admin-API/main/api.lua"))()
AdminAPI.Prefix = "." -- Default is ;
AdminAPI.CreateChatHook() -- Automatically handle chat commands
AdminAPI.CreateCommand("reset", {}, function(args, speaker)
    if AdminAPI.GetCharacter() and AdminAPI.GetHumanoid() then -- Check if the player Character and Humanoid exists
		AdminAPI.GetHumanoid().Health = 0 -- Set Humanoid health to 0
	end
end)

About

An Admin API that utilizes Infinite Yield's command handler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages