basic elements

flags that you can use on each game and to better your addon

ascendify.get_flag()

print(ascendify.get_flag("example_toggle")) -- prints the status of the toggle true/false
Argument
Type
Description

name

String

Name of the flag to read

ascendify.set_flag()

ascendify.set_flag("example_toggle", true)
Argument
Type
Description

name

string

Name of the flag to set

value

any

Value to assign to the flag

ascendify.set_visible()

ascendify.set_visible("example_toggle", false)
Argument
Type
Description

flag

String

Flag linked to the UI element

state

Boolean

Whether the element should be visible

ascendify.is_purchasing_item()

print(ascendify.is_purchasing_item())
Type
Description

Boolean

true if purchasing, otherwise false

ascendify.get_server_cframe()

local cframe = ascendify.get_server_cframe()
print(cframe)
Type
Description

CFrame

Player's current server CFrame

ascendify.get_client_cframe()

Description

CFrame

Player's current client CFrame

ascendify.create_connection()

Argument
Type
Description

signal

RBXScriptSignal or Table

Signal to connect to

callback

Function

Function called when the signal fires

ascendify.create_notification({})

Argument
Type
Description

text

String

Notification text

time

Number

Duration in seconds

ascendify.on_unload()

Argument
Type

callback

Function

Function called when the addon is unloaded

Last updated