Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
/ Arsenic-API Public archive

API for the game Apocalypse Rising, on the Roblox game engine

Notifications You must be signed in to change notification settings

Upbolt/Arsenic-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

ARSENIC API

How to use

First, include this at the top of your script.

local as = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Upbolt/Arsenic-API/master/as.lua"))()

After you do this, all tables and functions will be under the as table. Example:

as.destroy(game.Players.Gusmanak) 
as.setPartColor(game.Players.LocalPlayer.Character:FindFirstChild("Left Arm"), as.colors.brightRed)

Tables

color {
    hotPink
    dustyRose
    cyan
    dirtBrown
    pastelViolet
    limeGreen
    brightRed
    darkStoneGrey
    newYeller
    lillyWhite
    maroon
    pastelYellow
    brightBluishGreen
    fog
    camo
    brightOrange
    salmon
    teal
    reallyBlack
    brightGreen
    brightBlue
    pastelBlueGreen
    black
    brightViolet
    persimmon
    neonOrange
    sandRed
    white
    reallyBlue
    reallyRed
    terraCotta
    pearl
    navyBlue
    toothpaste
    khaki
    laurelGreen
    electricBlue
    slimeGreen
    brickYellow
    gold
    royalPurple
    cashmere
    quillGrey
    pink
    seaGreen
    reddishBrown
    lightReddishViolet
    babyBlue
    deepOrange
    grime
    institutionalWhite
    cgaBrown
    alder
    pastelLightBlue
    coolYellow
    crimson
    brYellowishOrange
    nougat
    brightYellow
    earthGreen
}

Functions

Functions marked with <YIELD> pause the script until they are finished running.

<YIELD> setParent ( instance, newParent: Instance )
    ~ Sets the parent of "instance" to "newParent"

<YIELD> destroy ( instance )
    ~ Sets the parent of "instance" to nil

<YIELD> setValueObject ( valueObject, newValue: any )
    ~ If "valueObject" is a valid ValueObject (StringValue, NumberValue, Color3Value, etc.), its value will be set to "newValue"

setCFrame ( part, cframe )
    ~ Sets the CFrame of "part" to cframe

<YIELD> setEnabled ( instance, flag: boolean )
    ~ Sets the Enabled property of "instance" to "flag"

<YIELD> setPartColor ( part, colorId: number )
    ~ Sets the color of "part" to "colorId" (Use as.colors to select a color!)

setModelColor ( model, colorId: number )
    ~ Sets the color of parts inside "model" to "colorId" (Use as.colors to select a color!)

<YIELD> clone ( instance, newParent: Instance, count: number = 1 )
    ~ Clones "instance", with "count" amount (defaults to 1), and sets the parent to "newParent"

About

API for the game Apocalypse Rising, on the Roblox game engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages