Skip to main content

AutoCustomRBXAnimationIds

Read Only
note

Roblox model path: Animations.Deps.AutoCustomRBXAnimationIds

A table of animation ids to apply to player character's animate script, replacing default roblox animation ids on spawn if EnableAutoCustomRBXAnimationIds is enabled.

-- All optional number values
local AutoCustomRBXAnimationIds = {
	[Enum.HumanoidRigType.R6] = { -- [string]: number? | { [string]: number? }
		run = nil,
		walk = nil,
		jump = nil,
		idle = {
			Animation1 = nil,
			Animation2 = nil
		},
		fall = nil,
		swim = nil,
		swimIdle = nil,
		climb = nil
	},
	[Enum.HumanoidRigType.R15] = { -- [string]: number? | { [string]: number? }
		run = nil,
		walk = nil,
		jump = nil,
		idle = {
			Animation1 = nil,
			Animation2 = nil
		},
		fall = nil,
		swim = nil,
		swimIdle = nil,
		climb = nil
	}
}
info

Roblox applies the "walk" animation id for R6 characters and the "run" animation id for R15 characters (instead of both).

caution

You should not delete the key = nil key-value pairs. They are meant to stay for ease of modification.

Show raw api
{
    "functions": [],
    "properties": [],
    "types": [],
    "name": "AutoCustomRBXAnimationIds",
    "desc": ":::note\nRoblox model path: `Animations.Deps.AutoCustomRBXAnimationIds`\n:::\n\nA table of animation ids to apply to player character's animate script, replacing default roblox animation ids on spawn if [`EnableAutoCustomRBXAnimationIds`](/api/AnimationsServer#EnableAutoCustomRBXAnimationIds) is enabled.\n\n```lua\n-- All optional number values\nlocal AutoCustomRBXAnimationIds = {\n\t[Enum.HumanoidRigType.R6] = { -- [string]: number? | { [string]: number? }\n\t\trun = nil,\n\t\twalk = nil,\n\t\tjump = nil,\n\t\tidle = {\n\t\t\tAnimation1 = nil,\n\t\t\tAnimation2 = nil\n\t\t},\n\t\tfall = nil,\n\t\tswim = nil,\n\t\tswimIdle = nil,\n\t\tclimb = nil\n\t},\n\t[Enum.HumanoidRigType.R15] = { -- [string]: number? | { [string]: number? }\n\t\trun = nil,\n\t\twalk = nil,\n\t\tjump = nil,\n\t\tidle = {\n\t\t\tAnimation1 = nil,\n\t\t\tAnimation2 = nil\n\t\t},\n\t\tfall = nil,\n\t\tswim = nil,\n\t\tswimIdle = nil,\n\t\tclimb = nil\n\t}\n}\n```\n\n:::info\nRoblox applies the `\"walk\"` animation id for `R6` characters and the `\"run\"` animation id for `R15` characters (instead of both).\n:::\n\n:::caution\nYou should not delete the `key = nil` key-value pairs. They are meant to stay for ease of modification.\n:::",
    "tags": [
        "Read Only"
    ],
    "source": {
        "line": 53,
        "path": "src/ReplicatedStorage/Animations/Deps/AutoCustomRBXAnimationIds.lua"
    }
}