Many functions within the
cheat table are designed to operate exclusively on a specific class of game Instance (e.g., set_ambient only works on a Lighting Instance). You are responsible for ensuring that the Instance you pass as an argument is of the correct class type before calling the function. Passing an incorrect Instance type will lead to undefined behavior, errors, or application crashes.Access
All cheat C++ functions are exposed to your Lua script via a single global table namedcheat. You access individual values by using the dot (.) or bracket ([]) operator on this table.
Cheat Usage Example
Functions
This section lists all available C++ functions exposed within the globalcheat table. These functions provide high-level manipulation and access to environment, game state, and object properties.
Misc
This section contains miscellaneous utility functions, primarily for coordinate system conversions like transforming 3D world coordinates to 2D screen points.world_to_point
Converts a 3D world position to a 2D screen point. Returns a Point containing the screen position and offscreen state.Whether to calculate the position when it’s offscreen. If
false, returns a Point with visible set to false when offscreen without calculating the actual position. Defaults to false.Base
This section contains fundamental system functions used to retrieve the base memory addresses (e.g.,DataModel, Visual Engine) required for the initialization and operation of most other high-level cheat functions.
get_data_model
Gets the current DataModel Instance address. Returns the memory address as a number.get_render_view
Gets the current Render View address. Returns the memory address as a number.get_engine
Gets the current Visual Engine address. Returns the memory address as a number.Data Model
This section lists methods that operate directly on the core DataModel Instance. These functions are essential for traversing the game hierarchy, retrieving key services, and accessing global game identification details.get_service
Gets a service from the service list by name. Returns the memory address as a number.get_workspace
Gets the current Workspace Instance address. Returns the memory address as a number.get_game_id
Gets the current game’s game ID. Returns the game ID as a number.get_place_id
Gets the current game’s place ID. Returns the place ID as a number.get_tick
Gets the current game’s tick count. Returns the tick count as a number.get_job_id
Gets the current game’s job ID. Returns the job ID as a string. Can be called with a DataModel address or without arguments to retrieve the cached job ID.get_version
Gets the target process’s current version. Returns the version string.Engine
This section lists methods that operate on the Visual Engine and Render View memory structures. These functions are critical for manipulating low-level rendering properties, such as controlling lighting updates, accessing the current view matrix, and retrieving the in-game time.get_time
Gets the current time from the Visual Engine. Returns the time as a number.get_matrix
Gets the view matrix from the Visual Engine. Returns a Matrix4 containing the current view transformation.set_lighting_state
Sets the lighting update state for the Render View. Controls whether lighting, sky, or both are updated.The lighting state value:
0x0 for both lighting and sky updates, 0x100 for sky updates only, or 0x1 for lighting updates only.set_sky_state
Sets the sky update state for the Render View. Should be called after writing to skybox along withset_lighting_state.
Fast Flags
This section lists methods specifically for interacting with Fast Flags (FFlags). These functions allow you to dynamically read and write internal, experimental, or configuration variables used by the game engine to control features and behavior at runtime.set_fflag
Sets a Fast Flag (FFlag) value by name. Returnstrue if the flag was successfully set, false otherwise.
The value to set the flag to. Accepts boolean or number types. String support coming in the future.
Instance
This section provides methods for inspecting, traversing, and manipulating any valid Instance within the DataModel hierarchy, including retrieving, setting, and validating its core properties.get_class
Gets the class name of an Instance. Returns the class name as a string.get_parent
Gets the parent Instance of an Instance. Returns the parent Instance address as a number.get_name
Gets the name of an Instance. Returns the name as a string.get_children
Gets the children of an Instance. Returns the children as a table.get_children_last
Gets the last children of an Instance. Returns the children as a table.get_children_name
Gets the children of an Instance with a specific name. Returns the children as a table.get_children_class
Gets the children of an Instance with a specific class name. Returns the children as a table.get_child
Gets the first child of an Instance. Returns the child as a number.get_last_child
Gets the last child of an Instance. Returns the child as a number.get_both_children
Gets both first and last children of an Instance. Returns the children as a table.find_first_child
Gets the first child of an Instance with a specific name. Returns the Instance as a number.find_first_class
Gets the first child of an Instance with a specific class name. Returns the Instance as a number.find_last_child
Gets the last child of an Instance with a specific name. Returns the Instance as a number.find_last_class
Gets the last child of an Instance with a specific class name. Returns the Instance as a number.has_children
Checks if an Instance has any children. Returnstrue if it has any children, false otherwise.
get_attributes
Gets the attributes of an Instance. Returns the parsed attributes as a table.get_attribute
Gets the attribute with of an Instance with a specific name. Returns the parsed attribute as a ParsedAttribute.is_base_part
Checks if an class name is a base part. Returnstrue if it is a base part, false otherwise.
is_gui_object
Checks if an class name is a gui object. Returnstrue if it is a gui object, false otherwise.
set_parent
Sets the parent Instance of an Instance.Workspace
This section provides methods for inspecting, traversing, and manipulating the properties and children specifically contained within the coreWorkspace Instance of the game environment.
get_camera
Gets the current camera Instance. Returns the camera as a number. Can be called with a Workspace address or without arguments to retrieve the cached camera.get_terrain
Gets the terrain Instance. Returns the terrain as a number. Can be called with a Workspace address or without arguments to retrieve the cached terrain.Camera
This section provides methods for inspecting and manipulating theCamera Instance’s properties, including its position, orientation, field of view, and various movement behaviors.
get_camera_subject
Gets the current camera subject Instance of the Camera Instance. Returns the camera subject Instance address as a number.get_camera_rotation
Gets the rotation matrix of the Camera Instance. Returns a Matrix3 containing the camera’s rotation.get_camera_translation
Gets the translation (position) of the Camera Instance. Returns a Vector3 containing the camera’s position.get_camera_cframe
Gets the CFrame (coordinate frame) of the Camera Instance. Returns a CFrame containing the camera’s position and orientation.get_field_of_view
Gets the field of view of the Camera Instance. Returns the field of view in degrees as a number.set_camera_subject
Sets the camera subject Instance of the Camera Instance.set_camera_rotation
Sets the rotation matrix of the Camera Instance.set_camera_translation
Sets the translation (position) of the Camera Instance.set_camera_cframe
Sets the CFrame (coordinate frame) of the Camera Instance.set_field_of_view
Sets the field of view of the Camera Instance.Terrain
This section provides methods for inspecting and manipulating various environmental and rendering properties of theTerrain instance, including water color, reflection, wave dynamics, and decorative element sizes.
get_water_color
Gets the water color of the Terrain Instance. Returns a Color3 containing the water color.get_grass_size
Gets the grass size of the Terrain Instance. Returns the grass size as a number.get_water_reflect
Gets the water reflectance of the Terrain Instance. Returns the reflectance value as a number.get_wave_size
Gets the water wave size of the Terrain Instance. Returns the wave size as a number.get_wave_speed
Gets the water wave speed of the Terrain Instance. Returns the wave speed as a number.get_decoration
Gets the decoration state of the Terrain Instance. Returnstrue if decoration (grass) is enabled, false otherwise.
set_water_color
Sets the water color of the Terrain Instance.set_grass_size
Sets the grass size of the Terrain Instance.set_water_reflect
Sets the water reflectance of the Terrain Instance.set_wave_size
Sets the water wave size of the Terrain Instance.set_wave_speed
Sets the water wave speed of the Terrain Instance.set_decoration
Sets the decoration state of the Terrain Instance. When set tofalse, grass will be disabled.
Players
This section provides methods for managing and querying the game’s player collection, including retrieving the local client player instance and the maximum number of players allowed in the game.get_client
Gets the local player Instance from the Players service. Returns the local player Instance address as a number.get_max_players
Gets the maximum number of players that can be in the server. Returns the max player count as a number.Lighting
This section provides methods for inspecting and manipulating theLighting instance’s extensive properties, controlling the visual atmosphere, including ambient and directional light, shadows, fog, exposure, and the addresses of associated sky and atmosphere objects.
get_ambient
Gets the ambient lighting color of the Lighting Instance. Returns a Color3 containing the ambient color.get_shift_bottom
Gets the color shift for the bottom of the skybox in the Lighting Instance. Returns a Color3 containing the bottom shift color.get_shift_top
Gets the color shift for the top of the skybox in the Lighting Instance. Returns a Color3 containing the top shift color.get_fog_color
Gets the fog color of the Lighting Instance. Returns a Color3 containing the fog color.get_outdoor_ambient
Gets the outdoor ambient lighting color of the Lighting Instance. Returns a Color3 containing the outdoor ambient color.get_brightness
Gets the brightness level of the Lighting Instance. Returns the brightness as a number.get_diffuse_scale
Gets the diffuse scale of the Lighting Instance. Returns the diffuse scale as a number.get_specular_scale
Gets the specular scale of the Lighting Instance. Returns the specular scale as a number.get_exposure
Gets the exposure level of the Lighting Instance. Returns the exposure as a number.get_fog_end
Gets the fog end distance of the Lighting Instance. Returns the fog end distance as a number.get_fog_start
Gets the fog start distance of the Lighting Instance. Returns the fog start distance as a number.get_shadow_softness
Gets the shadow softness of the Lighting Instance. Returns the shadow softness as a number.get_technology
Gets the rendering technology mode of the Lighting Instance. Returns the technology mode as a number.get_global_shadows
Gets the global shadows state of the Lighting Instance. Returnstrue if global shadows are enabled, false otherwise.
get_tint
Gets the color tint of the Lighting Instance. Returns a Color3 containing the tint color.get_direction
Gets the light direction of the Lighting Instance. Returns the direction as a number.get_sky
Gets the Sky Instance from the Lighting Instance. Returns the Sky Instance address as a number.get_atmosphere
Gets the Atmosphere Instance from the Lighting Instance. Returns the Atmosphere Instance address as a number.set_ambient
Sets the ambient lighting color of the Lighting Instance.set_shift_bottom
Sets the color shift for the bottom of the skybox in the Lighting Instance.set_shift_top
Sets the color shift for the top of the skybox in the Lighting Instance.set_fog_color
Sets the fog color of the Lighting Instance.set_outdoor_ambient
Sets the outdoor ambient lighting color of the Lighting Instance.set_brightness
Sets the brightness level of the Lighting Instance.set_diffuse_scale
Sets the diffuse scale of the Lighting Instance.set_specular_scale
Sets the specular scale of the Lighting Instance.set_exposure
Sets the exposure level of the Lighting Instance.set_fog_end
Sets the fog end distance of the Lighting Instance.set_fog_start
Sets the fog start distance of the Lighting Instance.set_shadow_softness
Sets the shadow softness of the Lighting Instance.set_technology
Sets the rendering technology mode of the Lighting Instance.set_global_shadows
Sets the global shadows state of the Lighting Instance.set_tint
Sets the color tint of the Lighting Instance.set_direction
Sets the light direction of the Lighting Instance.Sky
This section provides a method for inspecting theSky instance to retrieve its current orientation in the game world.
get_sky_orientation
Gets the skybox orientation of the Sky Instance. Returns a Vector3 containing the skybox’s rotation angles.set_sky_orientation
Sets the skybox orientation of the Sky Instance.Atmosphere
This section provides methods for inspecting and manipulating theAtmosphere instance’s properties. These functions control various environmental effects such as light density, color, haze, glare, decay, and positional offset.
get_density
Gets the density of the Atmosphere Instance. Returns the density as a number.get_offset
Gets the offset of the Atmosphere Instance. Returns the offset as a number.get_atmosphere_color
Gets the color of the Atmosphere Instance. Returns a Color3 containing the atmosphere color.get_decay
Gets the decay color of the Atmosphere Instance. Returns a Color3 containing the decay color.get_glare
Gets the glare intensity of the Atmosphere Instance. Returns the glare as a number.get_haze
Gets the haze intensity of the Atmosphere Instance. Returns the haze as a number.set_density
Sets the density of the Atmosphere Instance.set_offset
Sets the offset of the Atmosphere Instance.set_atmosphere_color
Sets the color of the Atmosphere Instance.set_decay
Sets the decay color of the Atmosphere Instance.set_glare
Sets the glare intensity of the Atmosphere Instance.set_haze
Sets the haze intensity of the Atmosphere Instance.Player
This section provides methods for inspecting and manipulating individualPlayer instances. These functions allow access to player-specific details such as their display name, team, user ID, account age, character instance, and client properties like camera zoom and idle time.
get_display
Gets the display name of the Player Instance. Returns the display name as a string.get_team
Gets the Team Instance that the Player belongs to. Returns the Team Instance address as a number.get_user_id
Gets the user ID of the Player Instance. Returns the user ID as a number.get_account_age
Gets the account age (in days) of the Player Instance. Returns the account age as a number.get_camera_zoom
Gets the camera zoom settings of the local Player Instance. Returns a table containing the camera zoom configuration. This function only works for the local player.get_character
Gets the Character model Instance of the Player. Returns the Character Instance address as a number.get_idle_time
Gets the idle time (in seconds) of the local Player Instance. Returns the idle time as a number. This function only works for the local player.set_camera_zoom
Sets the camera zoom settings of the local Player Instance. This function only works for the local player.set_idle_time
Sets the idle time (in seconds) of the local Player Instance. This function only works for the local player.Team
This section provides methods for inspecting and manipulating individualTeam instances, including properties like color and name.
get_team_color
Gets the BrickColor team color ID of the Team Instance. Returns the BrickColor ID as a number. UsefromBrickColor on a Color3 or Color4 to convert this to a Color value.
Model
This section provides a method for inspecting theModel instance to retrieve a reference to its designated primary or root part.
get_primary_part
Gets the PrimaryPart BasePart Instance of the Model Instance. Returns the PrimaryPart Instance address as a number.Base Part
This section provides methods for inspecting and manipulating properties common to allBasePart derivatives (e.g., Part, MeshPart, UnionOperation). These functions control aspects like transparency, retrieving primitive, and visual appearance.
get_transparency
Gets the transparency value of the BasePart Instance. Returns the transparency as a number (0 is fully opaque, 1 is fully transparent).get_primitive
Gets the Primitive Class of the BasePart. Returns the Primitive Class address as a number.get_part_color
Gets the color of the BasePart Instance. Returns a Color3 containing the part’s color.Primitive
This section provides methods for inspecting and manipulating the core physical and spatial properties of aBasePart’s associated Primitive class. These functions control essential data like its CFrame, size, rotation, velocity, and fundamental physics behaviors such as gravity and collision.
get_gravity
Gets the world gravity of the Primitive Instance. Returns the world multiplier as a number.get_rotation
Gets the rotation matrix of the Primitive Instance. Returns a Matrix3 containing the primitive’s rotation.get_translation
Gets the translation (position) of the Primitive Instance. Returns a Vector3 containing the primitive’s position.get_cframe
Gets the CFrame (coordinate frame) of the Primitive Instance. Returns a CFrame containing the primitive’s position and orientation.get_velocity
Gets the velocity of the Primitive Instance. Returns a Vector3 containing the primitive’s velocity.get_size
Gets the size of the Primitive Instance. Returns a Vector3 containing the part’s dimensions.get_prim_parent
Gets the BasePart Instance that this Primitive belongs to. Returns the BasePart Instance address as a number.get_collision
Gets the collision bitmask value of the Primitive Instance. Returns the collision bitmask value as a number.set_gravity
Sets the gravity multiplier of the Primitive Instance.set_rotation
Sets the rotation matrix of the Primitive Instance.set_translation
Sets the translation (position) of the Primitive Instance.set_cframe
Sets the CFrame (coordinate frame) of the Primitive Instance.set_velocity
Sets the velocity of the Primitive Instance.set_size
Sets the size of the Primitive Instance.set_collision
Sets the collision bitmask value of the Primitive Instance.set_teleport
Teleports the Primitive Instance to the specified position.Bone
This section provides methods for inspecting and manipulating the spatial properties of aBone instance. These functions are used to retrieve the bone’s rotation, translation, and CFrame, which are critical for warping and deforming associated meshes.
get_bone_rotation
Gets the rotation matrix of the Bone Instance. Returns a Matrix3 containing the bone’s rotation.get_bone_translation
Gets the translation (position) of the Bone Instance. Returns a Vector3 containing the bone’s position.get_bone_cframe
Gets the CFrame (coordinate frame) of the Bone Instance. Returns a CFrame containing the bone’s position and orientation.get_bone_primitive
Translates a Bone Instance address to its corresponding Primitive address, allowing primitive functions to work with bones. Returns the Primitive address as a number.Humanoid
This section provides methods for inspecting and manipulating the core properties of aHumanoid instance. These functions control character health, speed, jump power, hip height, camera offset, and various behavioral states like sitting and auto-rotation.
get_camera_offset
Gets the camera offset of the Humanoid Instance. Returns a Vector3 containing the camera offset.get_health
Gets the current health of the Humanoid Instance. Returns the health as a number.get_hip_height
Gets the hip height of the Humanoid Instance. Returns the hip height as a number.get_jump_power
Gets the jump power of the Humanoid Instance. Returns the jump power as a number.get_max_health
Gets the maximum health of the Humanoid Instance. Returns the max health as a number.get_walk_speed
Gets the walk speed of the Humanoid Instance. Returns the walk speed as a number.get_auto_rotate
Gets the auto-rotate state of the Humanoid Instance. Returnstrue if auto-rotate is enabled, false otherwise.
get_jump
Gets the jump state of the Humanoid Instance. Returnstrue if the humanoid is jumping, false otherwise.
get_jump(number: address): boolean
get_sit
Gets the sit state of the Humanoid Instance. Returnstrue if the humanoid is sitting, false otherwise.
set_camera_offset
Sets the camera offset of the Humanoid Instance.set_hip_height
Sets the hip height of the Humanoid Instance.set_jump_power
Sets the jump power of the Humanoid Instance.set_walk_speed
Sets the walk speed of the Humanoid Instance.set_auto_rotate
Sets the auto-rotate state of the Humanoid Instance.set_sit
Sets the sit state of the Humanoid Instance.User Input
This section provides a method for inspecting theUserInputService instance to determine if an input element, such as a text box, currently has focus.
get_focused_box
Gets the current focused TextBox Instance that is being typed in from the UserInputService. Returns the TextBox Instance address as a number.Part Adornment
This section provides a method for inspecting instances ofSurfaceGui or BillboardGui to retrieve the memory address of the Adornee part they are attached to and rendered upon.
get_adornee
Gets the Adornee property of an Instance such as SurfaceGui or BillboardGui. Returns the Adornee Instance address as a number.Gui Object
This section provides methods for inspecting properties shared across allGuiObject derivatives (e.g., Frame, TextButton, ImageLabel). These functions allow you to retrieve critical layout information, such as absolute position, absolute size, and the full absolute bounding rectangle on the screen.
get_absolute_position
Gets the absolute screen position of the GuiObject Instance. Returns a Vector2 containing the X and Y position.get_absolute_size
Gets the absolute screen size of the GuiObject Instance. Returns a Vector2 containing the width and height.get_absolute_rect
Gets the absolute screen rectangle of the GuiObject Instance. Returns a Rect wherelow is the position and high is the size.
Text Label
This section provides a method for inspecting theTextLabel instance to retrieve the string content currently being displayed.
get_label_text
Gets the text content of the TextLabel Instance. Returns the text as a string.Text Button
This section provides a method for inspecting theTextButton instance to retrieve the string content that is rendered on the button’s surface.
get_button_text
Gets the text content of the TextButton Instance. Returns the text as a string.Text Box
This section provides a method for inspecting theTextBox instance to retrieve the string content currently entered or stored within the input field.
get_box_text
Gets the text content of the TextBox Instance. Returns the text as a string.Tool
This section provides methods for inspecting and manipulating properties of aTool instance, including retrieving its texture reference and accessing or setting the tool’s grip position and orientation.
get_tool_texture
Gets the texture ID of the Tool Instance. Returns the texture ID as a string.get_tool_grip
Gets the grip CFrame of the Tool Instance. Returns a CFrame containing the tool’s grip position and orientation.set_tool_grip
Sets the grip CFrame of the Tool Instance.Value
This section provides methods for inspecting and manipulating the stored data within various Value-based instances (e.g.,NumberValue, ObjectValue, StringValue). These functions allow you to read and write the core primitive or structure held by the respective value object.
get_int_value
Gets the stored integer value of the IntValue Instance. Returns the integer as a number.get_bool_value
Gets the stored boolean value of the BoolValue Instance. Returnstrue or false.
get_cframe_value
Gets the stored CFrame value of the CFrameValue Instance. Returns a CFrame.get_number_value
Gets the stored number value of the NumberValue Instance. Returns the number as a double.get_object_value
Gets the stored object reference of the ObjectValue Instance. Returns the referenced Instance address as a number.get_string_value
Gets the stored string value of the StringValue Instance. Returns the string.get_vector3_value
Gets the stored Vector3 value of the Vector3Value Instance. Returns a Vector3.get_brick_color_value
Gets the stored BrickColor ID of the BrickColorValue Instance. Returns the BrickColor ID as a number.set_int_value
Sets the stored integer value of the IntValue Instance.set_bool_value
Sets the stored boolean value of the BoolValue Instance.set_cframe_value
Sets the stored CFrame value of the CFrameValue Instance.set_number_value
Sets the stored number value of the NumberValue Instance.set_object_value
Sets the stored object reference of the ObjectValue Instance.set_vector3_value
Sets the stored Vector3 value of the Vector3Value Instance.set_brick_color_value
Sets the stored BrickColor ID of the BrickColorValue Instance.Stats Item
This section provides methods for inspecting and manipulating the stored data within aStatsItem instance. These functions allow you to read and write both the numerical and string values contained within the item.
get_stats_value
Gets the numeric value of the StatsItem Instance. Returns the value as a number.get_stats_svalue
Gets the string value of the StatsItem Instance. Returns the value as a string.set_stats_value
Sets the numeric value of the StatsItem Instance.Mesh Part
This section provides methods for inspecting theMeshPart instance to retrieve the IDs referencing its mesh geometry and associated texture map.
get_mesh_part_mesh
Gets the mesh ID of the MeshPart Instance. Returns the mesh ID as a string.get_mesh_part_texture
Gets the texture ID of the MeshPart Instance. Returns the texture ID as a string.Special Mesh
This section provides methods for inspecting theSpecialMesh instance to retrieve the IDs referencing its mesh geometry and associated texture map.
get_special_mesh_id
Gets the mesh ID of the SpecialMesh Instance. Returns the mesh ID as a string.get_special_texture_id
Gets the texture ID of the SpecialMesh Instance. Returns the texture ID as a string.Texture
This section provides methods for inspecting theTexture instance to retrieve properties such as the ID referencing the image asset and its associated color value.
get_texture_texture
Gets the texture ID of the Texture Instance. Returns the texture ID as a string.get_texture_color
Gets the texture color of the Texture Instance. Returns the texture color as a Color3.Decal
This section provides methods for inspecting theDecal instance to retrieve properties such as the ID referencing the image asset and its associated color value.
get_decal_texture
Gets the texture ID of the Decal Instance. Returns the texture ID as a string.get_decal_color
Gets the decal color of the Decal Instance. Returns the decal color as a Color3.Sound
This section provides a method for inspecting theSound instance to retrieve the ID referencing the audio asset it is configured to play.