Buy NowDiscord
Over 1k Animations
Free
0 Likes

Over 1k Animations

Total Roblox Drama

manningian744manningian7447h ago0 / 0
AnimationTRDTotal Roblox DramaAnimations

Description

Over 1k animations (MADE BY AI)

View Raw ↗
--[[
    Rayfield Animation Loader GUI (R6 Only)
    This script organizes R6 animations into categorized tabs
]]

local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Players = game:GetService("Players")
local Player = Players.LocalPlayer

-- R6 Animation Data organized by category
local R6Animations = {
    Movement = {
        [103281327] = "ANIM_BeginJump",
        [103281348] = "ANIM_EndJump",
        [103281356] = "ANIM_Idle",
        [103281385] = "ANIM_Run",
        [87609891] = "ANIM_Idle",
        [87609909] = "ANIM_Walk",
        [87609893] = "ANIM_JumpEnd",
        [87609899] = "ANIM_JumpStart",
        [120642355] = "ANIM_Idle",
        [120642404] = "ANIM_Run",
        [87825795] = "ANIM_BBeginJump",
        [87825834] = "ANIM_BEndJump",
        [87825852] = "ANIM_BIdle",
        [87825878] = "ANIM_BRunCycle",
        [87825914] = "ANIM_BWalkCycle",
        [125749145] = "WalkAnimation",
        [125750544] = "Idle1Animation",
        [125750702] = "JumpAnimation",
        [125750759] = "FallAnimation",
        [125750800] = "ClimbAnimation",
        [130591500] = "WalkLoop",
        [161210451] = "walk2013",
        [161235826] = "Climb2013",
        [165167557] = "jump2013",
        [167272039] = "Idle_Movement",
        [180426354] = "WalkLoopAnimation",
        [180435571] = "Idle1LoopAnimation",
        [180436148] = "FallLoopAnimation",
        [180436334] = "ClimbLoopAnimation",
        [252557606] = "InfiniteRunnerRun",
        [87772275] = "ANIM_WalkCycle",
        [87774425] = "ANIM_WalkCycle2",
        [87783890] = "ANIM_RunCycle2",
        [91510033] = "Run",
        [87609864] = "ANIM_ClimbLadder",
        [87609875] = "ANIM_ClimbStairs",
        [87609881] = "ANIM_EndFall",
        [87609885] = "ANIM_Fall",
        [87609920] = "ANIM_Walk2",
        [87609930] = "ANIM_Walk3",
        [87825814] = "ANIM_BClimbLadder",
        [87825889] = "ANIM_BRunCycle2",
        [87825898] = "ANIM_BRunFast",
        [87825924] = "ANIM_BWalkCycle2",
        [87826332] = "ANIM_BWalkCycle2",
        [87944492] = "ANIM_BIdle",
        [87945539] = "ANIM_BSwim",
        [87947850] = "ANIM_BSwim",
        [87981149] = "ANIM_BIdle",
        [88028261] = "ANIM_BIdle",
        [89493344] = "ANIM_Idle_FixedPrio",
        [89493383] = "ANIM_IdleHold_FixedPrio",
        [89493725] = "ANIM_IdleHold_FixedPrio",
        [97206298] = "Idle",
        [224950590] = "IdleMovement",
    },
    
    Combat = {
        [28156406] = "punch",
        [28156501] = "punch",
        [28160593] = "uppercut",
        [93051479] = "uppercut",
        [96619712] = "spartainKick",
        [49815113] = "QuickSlash",
        [49818454] = "ShieldBash",
        [49901608] = "AxeSlash",
        [49903583] = "ClubSlam",
        [46150387] = "Whack",
        [46277580] = "Swing",
        [46286122] = "AxeSpin",
        [46672869] = "StaffSwing",
        [46727778] = "StaffSwing",
        [46728771] = "StaffSpin",
        [46756384] = "StaffSlash",
        [48082850] = "PirateSlash",
        [48145782] = "Slash",
        [48146273] = "DualSlash",
        [50248690] = "SlashAnim",
        [51335610] = "SaiSlash",
        [54001660] = "FastSlash",
        [54120929] = "QuakeAnim",
        [54121922] = "StabAnim",
        [54432537] = "Slash",
        [54610198] = "RightSlash",
        [54672378] = "SlashAnim",
        [61771376] = "DaggerSlash",
        [66332008] = "SwordSlash",
        [68454049] = "SlashAnim",
        [70989302] = "Slash",
        [70989390] = "Slash2",
        [71410074] = "Slash",
        [74894663] = "LeftSlash",
        [74895784] = "OverHeadSwing",
        [86159303] = "ThrustSlash",
        [87701403] = "ANIM_SwordSlash1",
        [87701439] = "ANIM_SwordStab1",
        [87701492] = "ANIM_SwordStance1",
        [87701510] = "ANIM_SwordWalk",
        [89133529] = "DownStab",
        [89134792] = "StabPunch",
        [91431725] = "ANIM_SwordSlash",
        [92075912] = "ANIM_StaffSlash",
        [92076033] = "ANIM_StaffSmash",
        [92108526] = "ANIM_SaiSlash",
        [92153881] = "ANIM_SwordSlash",
        [92154859] = "ANIM_SaiSlash",
        [92155146] = "ANIM_NunSlash",
        [92155394] = "ANIM_StaffSlash",
        [92155463] = "ANIM_StaffSmash",
        [96559477] = "TwoHandSlash",
        [96676712] = "slash1",
        [96677230] = "slash2",
        [120645112] = "ANIM_Swing",
        [120731972] = "ANIM_BeginSmash",
        [120732028] = "ANIM_EndSmash",
        [120732428] = "ANIM_Spin",
        [122358185] = "ANIM_Equip",
        [122358216] = "ANIM_Swing",
        [168744201] = "dash_attack",
        [168801331] = "mace_swing",
        [181260999] = "ForwardPunch",
        [181262165] = "PunchBlock",
        [181262679] = "SidePunch",
        [181263202] = "UpperPunch",
        [181263498] = "ChopPunch",
        [223624106] = "Claws-Slash",
        [241279220] = "Dagger-Hold",
        [241379669] = "Dagger-Slash",
        [242455877] = "Dagger-Slash2",
        [243764134] = "Naginata-Slash",
        [247693145] = "Lightsaber-Bash",
        [247733469] = "Lightsaber-Slash",
        [247735656] = "Lightsaber-InwardUpperSlash",
        [247739506] = "Lightsaber-Spin",
        [247748354] = "Lightsaber-Swipe",
        [252390165] = "NinjaClaw-Slash",
        [252395746] = "NinjaClaw-ReleaseCharge",
        [277172616] = "Crossbow-Slash",
        [285551640] = "Sword-RightSlash",
        [285552468] = "Sword-LeftSlash",
        [285965988] = "Sword-Lunge",
        [297764233] = "MorningStar-LeftSwing",
        [297764418] = "MorningStar-RightSwing",
        [297778466] = "MorningStar-CenterSwing",
        [306414428] = "Scythe-Slash2",
        [306450253] = "Scythe-SpinSlash",
        [306451377] = "Scythe-Cut",
        [306452297] = "Scythe-Slice",
        [306490611] = "Slasher-OppositeSlash",
        [30704021] = "tridentstab",
        [315466978] = "DualAxes-OutwardDoubleSlash",
        [33169573] = "gravityslam",
        [33169583] = "chainsawswing",
        [33169596] = "chop",
        [334658585] = "DualWieldSlash",
        [334661867] = "DualWieldLunge",
        [334753747] = "OverseerHammer-Swing",
        [377385068] = "EggBeater-Swing",
        [45912348] = "SideSlash",
        [45913583] = "SideSlash",
        [45914787] = "StabAnim",
        [45914822] = "StabAnim",
        [48138535] = "TwoHandedSlash",
        [48138856] = "TwoHandedSlash",
        [49903664] = "ClubSlam",
        [49907410] = "ShieldBash",
        [50248790] = "SlashAnim",
        [50930931] = "SlashAnim",
        [51158666] = "QuickSlash",
        [51342576] = "Battojutsu",
        [51343043] = "Battojutsu",
        [51343632] = "DualSlash",
        [51753804] = "BracerBash",
        [54123838] = "StabAnim",
        [54124170] = "StabAnim",
        [54428981] = "SlashNStabAttempt1",
        [54430893] = "SlashNStabAttempt1",
        [54455465] = "DragonSwordCharge",
        [54456096] = "DragonSwordCharge",
        [54504034] = "DragonSwordRage",
        [54513258] = "LONGRageTest",
        [54584713] = "SlashNStabAttempt2",
        [54610595] = "RightSlash",
        [54611484] = "RightSlash",
        [54673790] = "SlashAnim",
        [60882887] = "FlashKickAnim",
        [60883237] = "ChargeKickAnim",
        [61441403] = "SlamAnim",
        [61441664] = "SlamAnim",
        [61444247] = "SlamAnim",
        [61771068] = "DaggerWalk",
        [61771447] = "DaggerSlashAnim",
        [63233998] = "ShieldBash",
        [63234156] = "ShieldBash",
        [63718551] = "SlashAnim",
        [65067813] = "SmashAnim",
        [66338177] = "SwordCritDown",
        [66702704] = "SwordCritDown",
        [66702722] = "SwordCrit",
        [66702758] = "SwordSlash",
        [66703223] = "SwordCrit",
        [66703241] = "SwordCritUp",
        [66703954] = "SwordCritDown",
        [66703957] = "SwordCritDown",
        [68484336] = "SlashAnim",
        [69803963] = "ANIM_SpearCharge",
        [69803991] = "ANIM_SpearStab",
        [70989227] = "ScimitarWalk",
        [70989331] = "Slash",
        [70989344] = "Slash",
        [70989354] = "Slash",
        [70989413] = "Slash2",
        [70989422] = "Slash2",
        [70989448] = "Slash2",
        [70989553] = "LungeSlash",
        [72041717] = "RightSlash",
        [72042024] = "RapidSlash",
        [72042265] = "RapidSlash",
        [72042387] = "RapidSlash",
        [72635328] = "StabAnim",
        [72635723] = "RageAnim",
        [73033669] = "ANIM_SlashBegin",
        [73033682] = "ANIM_SlashEnd",
        [73033705] = "ANIM_SlashPower",
        [73177718] = "bostaff_swing",
        [73822179] = "SlashAnim",
        [73822388] = "SlashAnim",
        [74322484] = "Slash",
        [74799600] = "SimpleSlash",
        [74801064] = "SimpleSlash2",
        [74803197] = "Stab",
        [74809182] = "SimpleSlash3",
        [74811755] = "SimpleSlash4",
        [74812501] = "SimpleSlash5",
        [74813494] = "SimpleSlash6",
        [74815981] = "Stab2",
        [74897796] = "OverHeadSwing3",
        [86146856] = "UltraSlamDown",
        [86169319] = "DoubleAttack",
        [86313260] = "RightSwingFast",
        [86313418] = "LeftSwingFast",
        [87701356] = "ANIM_SwordHold1",
        [87701386] = "ANIM_SwordHold2",
        [87701390] = "ANIM_SwordHold3",
        [87701416] = "ANIM_SwordSlash1Legs",
        [87701427] = "ANIM_SwordSlash1Rest",
        [87701466] = "ANIM_SwordStab1Legs",
        [87701504] = "ANIM_SwordStance2",
        [87701704] = "ANIM_SwordStab1Legs",
        [87703825] = "ANIM_SwordStab1Legs",
        [87703843] = "ANIM_SwordStab1Rest",
        [87985027] = "Lunge",
        [87986341] = "Advancing",
        [88014785] = "Lungein",
        [88016722] = "Lunger",
        [88029282] = "NewLunge",
        [88115141] = "ANIM_BGearSlash",
        [89286534] = "saberSlash",
        [89286651] = "saberSlash",
        [89341036] = "saberSlash2",
        [89342278] = "saberSlash4",
        [89342584] = "SaberBlock1",
        [89343139] = "saberBlock2",
        [89343907] = "ForcePush",
        [93630210] = "staffthrust",
        [93631019] = "staffspin",
        [93633158] = "thrust2",
        [93696468] = "staffpound",
        [94097701] = "SlashAnim",
        [94099358] = "OverheadAnim",
        [94110233] = "ThrustAnim",
        [94160738] = "OverheadAnim2",
        [94161088] = "SlashAnim2",
        [94161333] = "ThrustAnim2",
        [94190213] = "slam",
        [94790076] = "SwingAnim",
        [94790629] = "ExecuteAnim2",
        [95420574] = "axehit",
        [96071496] = "ScytheSlash",
        [96559159] = "Stab",
        [96559161] = "Stab2",
        [96560758] = "TwoHandRightSwing",
        [96621537] = "kick2",
        [96675769] = "hold",
        [97169019] = "test",
        [97897239] = "hold",
        [97898532] = "hold2",
        [99196838] = "hold",
        [99198392] = "hold2",
        [99200153] = "hold3",
    },
    
    Ranged = {
        [100289053] = "pipethrow2",
        [100348530] = "runcharge",
        [100900609] = "ReadyAim",
        [100998342] = "FireRockets",
        [100998595] = "StopFire",
        [100999683] = "StartReload",
        [101000991] = "ReloadLoop",
        [101001475] = "EndReload",
        [101004654] = "ReloadLoop2",
        [101097290] = "ReadyAim2",
        [31617128] = "rocketreload",
        [31617132] = "rocketkickback",
        [89456847] = "gunfire",
        [95383761] = "lugerfire",
        [95384639] = "lugerreload",
        [95389971] = "stenFire",
        [95390631] = "stenreload",
        [97884303] = "fireani",
        [97885754] = "reload2",
        [97900365] = "reload1",
        [94234491] = "Shotgunequip",
        [94236391] = "Shotgunpump",
        [94771598] = "NewFireAndReload",
        [206851098] = "GunHold",
        [207107855] = "KnifeThrow",
        [209875013] = "SmokeBombThrow",
        [232442422] = "Grenade-Throw",
        [277780478] = "LaserRifle-Fire",
        [283119655] = "LaserRifle-Equip",
        [283545583] = "LaserRifle-UsingScope",
        [287387833] = "RevolverShoot",
        [287388049] = "RevolverIdle",
        [287396044] = "RevolverReload",
        [28604759] = "throw",
        [289897637] = "Throw",
        [31020869] = "barrelthrow",
        [313060411] = "Throw",
        [33248324] = "slingshot",
        [69803972] = "ANIM_SpearCheck",
        [71526369] = "ShootAnim",
        [78025314] = "RapidFireAnim",
        [81563152] = "ANIM_fire",
        [82272303] = "ANIM_fire",
        [88440037] = "DiscusThrow",
        [88743566] = "ANIM_ThrowGrenade",
        [88743592] = "ANIM_HoldGrenade",
        [89147993] = "Throw",
        [94098253] = "RocketFireAndReload",
        [94104867] = "RocketFireAndReload2",
        [94105089] = "RocketFireAndReload3",
        [94105760] = "RocketFireAndReload4",
        [94106741] = "RocketFireAndReload5",
        [94107611] = "RocketFireAndReload6",
        [94108052] = "RocketFireAndReload7",
        [94109334] = "RocketFireAndReload8",
        [94113401] = "RocketFireAndReload9",
        [94116824] = "RocketFireAndReload10",
        [94118240] = "RocketIdle",
        [94118992] = "RocketFireAndReload11",
        [94121406] = "RocketReload",
        [94126022] = "SlingshotFire2",
        [94861246] = "BombHold2",
        [94861252] = "BombThrow",
        [95383980] = "lugerfire2",
        [95384819] = "lugerreload2",
        [95390146] = "StenFire2",
        [97897857] = "fire2",
        [97898138] = "fire3",
    },
    
    Weapons_Equipment = {
        [122358185] = "ANIM_Equip",
        [128234455] = "MadMaxAxeEquip",
        [128239271] = "MadMaxAxeSlash",
        [223206182] = "SwordAndShield-Equip",
        [223207191] = "SwordAndShield-Block",
        [223211142] = "SwordAndShield-ShieldBash",
        [223283721] = "SwordAndShield-Slash",
        [225795104] = "Sword-Equip",
        [243761991] = "Naginata-Hold",
        [243881876] = "Flintlock-Hold",
        [243985338] = "SwordAndShield-Block",
        [243985891] = "SwordAndShield-Hold",
        [243986496] = "SwordAndShield-Slash1",
        [247672845] = "Lightsaber-Equip",
        [255644024] = "Shield-Hold",
        [268569955] = "Sword-Summon",
        [277003236] = "Crossbow-Equip",
        [301983042] = "VampireHunterCrossbow-AxeSlash",
        [306352073] = "Scythe-Hold",
        [315464872] = "DualAxes-Equip",
        [317460113] = "Club-Hold",
        [334659285] = "DualWieldHold",
        [334752168] = "OverseerHammer-Equip",
        [42070871] = "pitchfork",
        [42071626] = "pitchfork",
        [42071649] = "pitchfork",
        [66331528] = "SwordEquip",
        [66702743] = "SwordEquip",
        [68339819] = "ANIM_SentryUnfold",
        [68339848] = "ANIM_SentryFire",
        [68387734] = "UnfoldAnim",
        [68433924] = "ANIM_SentryUnfold2",
        [68433974] = "ANIM_SentryFire2",
        [69427262] = "ANIM_SpotWeldEquip",
        [69427271] = "ANIM_SpotWeldFire",
        [69803982] = "ANIM_SpearEquip",
        [69929281] = "EquipAnim",
        [69929547] = "EquipAnim",
        [70439247] = "ANIM_Hold",
        [71446087] = "ANIM_ShipSummon",
        [73033633] = "ANIM_EnterShield",
        [73033645] = "ANIM_Equip",
        [73033655] = "ANIM_ExitShield",
        [73033721] = "ANIM_WalkShield",
        [73148224] = "ANIM_Equip",
        [75522038] = "ShieldDefense",
        [75522313] = "ShieldWalk",
        [75522566] = "ShieldDefense",
        [78574410] = "HoldingStaff",
        [78616646] = "HoldingStaff2",
        [78622405] = "StaffSwing",
        [79087399] = "EquipStaff",
        [79155032] = "ANIM_1equip",
        [79155042] = "ANIM_2equip",
        [79155062] = "ANIM_2slash",
        [79155073] = "ANIM_2stash",
        [79155105] = "ANIM_begincharge",
        [79155114] = "ANIM_charge",
        [79155124] = "ANIM_endcharge",
        [79155126] = "ANIM_entershield",
        [79155144] = "ANIM_equip",
        [79155149] = "ANIM_exitshield",
        [79155154] = "ANIM_slash1",
        [79155162] = "ANIM_stash",
        [79155174] = "ANIM_walkshield",
        [80979190] = "ANIM_equip",
        [80979197] = "ANIM_fly",
        [80979207] = "ANIM_stand",
        [80979216] = "ANIM_walk",
        [80980229] = "ANIM_equip",
        [80980235] = "ANIM_fly",
        [80980248] = "ANIM_walk",
        [82272273] = "ANIM_equip",
        [82272327] = "ANIM_slash",
        [84058039] = "ANIM_PlainEquipAnim",
        [84058063] = "ANIM_PlainSlashAnim",
        [85576342] = "RaiseArm",
        [85721204] = "swordPumpUp",
        [85723345] = "swordPumpUp2",
        [85726457] = "Arming",
        [87701510] = "ANIM_SwordWalk",
        [88055106] = "ANIM_BHoldGear",
        [88106029] = "ANIM_BIdleHold",
        [88106052] = "ANIM_BRunHold",
        [89280035] = "LightsaberHold",
        [89285976] = "saberIdle",
        [89287727] = "Recoil",
        [89288901] = "RecoilFast",
        [89289443] = "RecoilMid",
        [89343416] = "saberIdle2",
        [91354198] = "SwordEquip",
        [91432186] = "ANIM_NunEquip",
        [92076052] = "ANIM_StaffEquip",
        [92153767] = "ANIM_SwordEquip",
        [92154762] = "ANIM_SaiEquip",
        [92155035] = "ANIM_NunEquip",
        [92155268] = "ANIM_StaffEquip",
        [92582630] = "EquipAnim",
        [92583811] = "EquipAnim",
        [92590020] = "LHold",
        [92591304] = "LHoldV2",
        [92594426] = "LHoldV3",
        [92596924] = "ANIM_SwordEquip2",
        [92597324] = "ANIM_SwordEquip2",
        [92597490] = "ANIM_StaffEquip2",
        [92601293] = "EquipAnim",
        [92601994] = "EquipAnim",
        [92605502] = "EquipAnim",
        [92605860] = "EquipAnim",
        [92625019] = "EquipAnim",
        [92625138] = "EquipAnim",
        [93633990] = "Inject",
        [93635868] = "InjectAnim2",
        [93636142] = "InjectAnim2",
        [93638686] = "Inject",
        [93642075] = "Inject2",
        [94068974] = "EquipAnim",
        [94095929] = "UnequipAnim2",
        [94096418] = "IdleAnim",
        [94107807] = "IdleAnim2",
        [94108418] = "IdleAnim3",
        [94116311] = "SlingshotEquip",
        [94123357] = "SlingshotEquip2",
        [94128300] = "EquipAnim3",
        [94156486] = "IdleEquipAnim2",
        [94156535] = "EquipAnim2",
        [94156580] = "UnEquipAnim2",
        [94160427] = "EquipAnim4",
        [94160581] = "EquipAnim5",
        [94239711] = "Shotgunequip2",
        [94242777] = "Shotgunequip3",
        [94788942] = "EquipAnim",
        [94789364] = "IdleAnim",
        [94789762] = "IdleAnim",
        [96060721] = "ScytheEquip",
        [96063177] = "ScytheIdle",
        [96064636] = "ScytheEquip2",
        [96065457] = "ScytheIdle2",
        [96559165] = "DaggerHold",
        [98454170] = "nothinbg",
    },
    
    Items_Tools = {
        [103822775] = "EatBeans",
        [123101323] = "InstantCampfireHotDogEatAnimation",
        [123125189] = "ANIM_LanternEquip",
        [123125224] = "ANIM_LanternHold",
        [180324301] = "DrinkPotion",
        [180611870] = "Scream",
        [180612465] = "Frightened",
        [181437419] = "ThrowCandy",
        [211914659] = "EatAnimation",
        [220342144] = "WaterBottle-Drink",
        [272761516] = "Cough",
        [29517689] = "drink",
        [55306564] = "Drink",
        [70439232] = "ANIM_Drink",
        [94700140] = "Drink",
        [73148207] = "ANIM_Drink",
        [116690317] = "holdplz2",
        [116695140] = "reloadplease",
        [128777973] = "WaveAnimation",
        [128853357] = "PointAnimation",
        [162266420] = "item_throw",
        [163203876] = "drink_liquid",
        [179224234] = "SitAnimation",
        [180270832] = "RoPed-StandUp",
        [182393478] = "ToolLoopAnimation",
        [187562176] = "HoldArmsOut",
        [187567719] = "KnockedOutAnimation",
        [188475403] = "ShieldBlock",
        [188632011] = "Spin",
        [188853932] = "ThrowRight",
        [188854226] = "ThrowLeft",
        [188856222] = "DualWield",
        [191124503] = "Spin",
        [220314918] = "Umbrella-Hold",
        [243827693] = "HandSlam",
        [252551819] = "GameController-Hold",
        [268490758] = "Phone-Call",
        [273159186] = "KnifePen-RemoveCap",
        [273186758] = "KnifePen-ChargeThrow",
        [273187396] = "KnifePen-ReleaseCharge&Throw",
        [282574440] = "PlayerFlailing",
        [289338750] = "SpecialPose",
        [31319431] = "standstill",
        [30174375] = "throwfrombag",
        [33323745] = "launchhand",
        [33686061] = "kickback",
        [33855276] = "kickback",
        [420406849] = "Hold&RaiseArms",
        [42070810] = "werewolfcurl",
        [42070828] = "werelefthandhold",
        [42071631] = "tornbookhold",
        [42071635] = "holdbook",
        [42071639] = "bookrip",
        [42071644] = "bookfit",
        [46182987] = "Throw",
        [47700095] = "Tuba",
        [48972562] = "randHand",
        [48972693] = "RandHand",
        [49456429] = "BookAnim",
        [49480570] = "WandAnim",
        [55199152] = "PullBack",
        [55199506] = "Throw",
        [55267396] = "TorchHold",
        [55913910] = "HoldAnim",
        [56510834] = "PotionAnim",
        [57224942] = "JuiceAnim",
        [57720291] = "Lick",
        [57793026] = "ReadyBongos",
        [57794492] = "ReadyBongos",
        [57795241] = "RightBongoLowHit",
        [57795448] = "LeftBongoLowHit",
        [57795745] = "LeftBongoHighHit",
        [57796095] = "RightBongoHighHit",
        [57804331] = "RightBongoLowHit",
        [57804853] = "LeftBongoLowHit",
        [57804876] = "LeftBongoHighHit",
        [57804892] = "RightBongoLowHit",
        [57804902] = "RightBongoHighHit",
        [57862093] = "VolleyballHit",
        [57866879] = "VolleyballServe",
        [60349575] = "StiltWalk",
        [60350516] = "StiltWalkAnim",
        [60355819] = "StiltWalkAnim",
        [60886735] = "ScrollAnim",
        [61914291] = "DrinkAnim",
        [61914540] = "DrinkAnim",
        [62323186] = "HoldAnim",
        [66875382] = "GlobeAnim",
        [68387779] = "SwordWalk",
        [68387894] = "SwordWalk",
        [68453976] = "HoldAnim",
        [68453984] = "HoldAnim",
        [69500926] = "ShieldWalk",
        [69501108] = "ShieldBash",
        [69929615] = "HoldAnim",
        [69932360] = "ThrowAnim",
        [69932559] = "ThrowAnim",
        [69932631] = "ThrowAnim",
        [69967893] = "BreakAnim",
        [69968304] = "BreakAnim",
        [71012326] = "LampAnim",
        [71012636] = "SpellAnim",
        [71013291] = "SpellAnim",
        [71374486] = "ThrowAnim",
        [71374616] = "ThrowAnim",
        [72628034] = "HighFiveAnim",
        [72628270] = "OtherHighFiveAnim",
        [72629115] = "OtherFiveAnim",
        [72632381] = "OtherFiveAnim",
        [73101021] = "SlapAnim",
        [73102970] = "BlockAnim",
        [73105825] = "PokeAnim",
        [73137648] = "ANIM_Scream",
        [73137669] = "ANIM_Screamer",
        [73177702] = "bostaff_spin",
        [73177713] = "bostaff_stand",
        [74863286] = "HoldToSky",
        [74901237] = "Taunt",
        [74909500] = "moon_charge",
        [74909528] = "moon_slash_forward",
        [74909537] = "moon_slash_left",
        [74909569] = "moon_slash_sides",
        [75321266] = "Toss",
        [75322014] = "ButtonPress",
        [75354915] = "Roar",
        [75356030] = "StartRest",
        [75356212] = "Rest",
        [75415257] = "StartRest3",
        [75415270] = "StartRest2",
        [75415556] = "StartRest4",
        [75415711] = "StartRest5",
        [75416338] = "StartRest6",
        [75476727] = "ChantAnim",
        [75476911] = "ChantAnim",
        [75477112] = "ChantAnim",
        [75549420] = "SlapAnim",
        [76114643] = "BlastAnim",
        [76138892] = "BiteAnim",
        [76156068] = "LiftAnim",
        [76156446] = "LiftAnim",
        [76156569] = "LiftAnim",
        [76157307] = "LiftAnim",
        [77280244] = "Swirm",
        [77319318] = "SlashAnim",
        [78025439] = "WalkAnim",
        [78394786] = "Swing",
        [78494039] = "testanim",
        [78494810] = "SprayPaint",
        [78500923] = "Testing",
        [78569321] = "UpStaff",
        [78572792] = "UpStaff2",
        [78574417] = "UpStaff3",
        [78675825] = "SwingStaff2",
        [79094862] = "CheckEye",
        [79418964] = "Testssss",
        [79419402] = "HoldingGuns",
        [79419747] = "HoldingGuns2",
        [80395075] = "Lunge",
        [83994319] = "celestial_staff_raised",
        [83994332] = "celestial_staff_wave",
        [85568863] = "WavyHands",
        [85570603] = "HeadSwing",
        [85575994] = "dualhandslash",
        [85576403] = "dualslash2",
        [85836966] = "ForceChargeAnim",
        [85837387] = "ForceReleaseAnim",
        [85875280] = "UnsheathUltra",
        [85877138] = "UltraKatanaIdle",
        [86310439] = "callAni",
        [86311374] = "callAni",
        [86504773] = "TonightsForcast",
        [86614939] = "callme",
        [86887007] = "QuadWalk",
        [86889844] = "QuadHeadUp",
        [86895433] = "TailShoot",
        [87313595] = "Animation",
        [87313649] = "HeadUp",
        [87683384] = "callme",
        [87684351] = "callme2",
        [87684948] = "callme3",
        [87761809] = "UnstableCharge",
        [88013940] = "IdleAnim",
        [88016955] = "HeadPosition",
        [88038181] = "PoleVaultRun",
        [89132324] = "donothing",
        [89276079] = "AnAnimat",
        [89283403] = "axe",
        [89285151] = "axe2",
        [89285440] = "axe3",
        [89285652] = "axe4",
        [89289879] = "axe2",
        [90117804] = "clawsup",
        [90615149] = "StaffIdle",
        [90615571] = "StaffSlam",
        [90720825] = "StoneWandIdle",
        [90721125] = "StoneWandCast",
        [90814669] = "beeani",
        [90825039] = "Fly",
        [90828653] = "FlyAnimation2",
        [91277357] = "KeyframeSequence",
        [91346439] = "selfharm",
        [91346946] = "selfharm2",
        [91381081] = "DodgeTest",
        [91381776] = "DodgeTest",
        [91496899] = "ANIM_Roll",
        [92076168] = "ANIM_NunSlash",
        [92162915] = "ANIM_Roll",
        [92575755] = "ShieldBash",
        [92576399] = "ShieldBash",
        [92603242] = "BLAH",
        [93045404] = "LOLOLOLO",
        [93106911] = "BladeCharge",
        [93107107] = "BladeCharge",
        [93107367] = "BladeCharge",
        [93157368] = "Noogie1",
        [93158647] = "NoogieLoop",
        [93164833] = "Blowgun",
        [93165286] = "Blowgun2",
        [93165731] = "Blowgun2",
        [93180890] = "MaceSpin",
        [93185360] = "ThrowStar2",
        [93185821] = "ThrowStar3",
        [93191852] = "IdleStanding2",
        [93603335] = "NewNoogie",
        [93604135] = "NewNoogieLoop",
        [93648331] = "Enrage",
        [93693205] = "Summon",
        [93711728] = "IdleGvM",
        [93712419] = "ShootGvM",
        [93713389] = "Shoot2GvM",
        [94068278] = "MoveArm",
        [94071694] = "ThrowAnim",
        [94157627] = "ThrowAnim2",
        [94853940] = "StandPerfectlyStill",
        [95415492] = "psychowalk",
        [95415687] = "psychowalk2",
        [95424077] = "Panic",
        [96059718] = "KFS",
        [96090042] = "SitAnim",
        [96556734] = "SimpleTest1",
        [97170520] = "JumpJets",
        [97171309] = "LandingJets",
        [97883794] = "revolveridle",
        [97884040] = "KeyframeSequence",
        [98456177] = "ChargeEnergyBall",
        [98457346] = "ChargeEnergyBall2",
        [99198989] = "pluck",
        [100353414] = "pitchforkHold",
        [100353779] = "pitchhold2",
        [100354942] = "chargearm",
        [100355175] = "charegearm3",
        [100355854] = "chargearm4",
        [100356237] = "chargearm5",
        [100356641] = "pitch",
    },
    
    Dance_Emotes = {
        [130018893] = "Dance",
        [132149582] = "DanceTest",
        [132546839] = "Dance2",
        [132546884] = "Dance3",
        [161099825] = "Dance2013",
        [161100084] = "Idle2013",
        [27789359] = "dance",
        [35634514] = "monstermash",
        [429681631] = "JumpingJacks",
        [429703734] = "TheCharleston",
        [45489307] = "BeatBox",
        [45832220] = "disco1",
        [45834924] = "disco2",
        [52154760] = "Flute",
        [52155014] = "FluteDance",
        [45036843] = "Saxaphone",
        [47675791] = "GuitarAnim",
        [52602039] = "GuitarAnim",
        [192900081] = "Guitar-PlayTune",
        [192906348] = "Guitar-Equip",
        [225631595] = "FlutePlay",
        [263586627] = "Guitar-Pluck",
        [268490758] = "Phone-Call",
        [93060709] = "pose4",
        [93060712] = "pose3",
        [93060716] = "pose2",
        [93060724] = "pose1",
        [99807079] = "MAKEITRAIN",
        [99815141] = "yayMONEY",
        [129423030] = "CheerAnim",
        [129423131] = "LaughAnimation",
        [182435998] = "DanceLoop",
        [30196114] = "moonwalk",
        [33796059] = "partyanim",
        [35654637] = "monstermash2",
        [45039374] = "SaxNoLoop",
        [45489307] = "BeatBox",
        [45504977] = "BeatBox",
        [52155728] = "FluteDance",
        [52173754] = "HackyAnim",
        [52174217] = "HackyAnim",
        [52180307] = "HackyAnim",
        [52618343] = "BallAnim",
        [60332754] = "GuitarAnim",
        [60333009] = "GuitarAnim",
        [74935020] = "LiftAnim",
        [74936776] = "LiftAnim",
        [74937763] = "BowAnim",
        [74934855] = "BowAnim",
        [59774026] = "BowAnim",
        [55786615] = "Strum",
        [55789536] = "GetGuitarReady",
        [55789969] = "GetGuitarReady",
        [55790104] = "GetGuitarReady",
        [55791140] = "Strum",
        [55791352] = "GetGuitarReady",
    },
    
    Vehicles = {
        [21417802] = "boardkick",
        [21632926] = "leftturn",
        [21633130] = "rightturn",
        [21698666] = "coastingpose",
        [289443727] = "HorseWalk",
        [289454972] = "HorseRide",
        [289877829] = "HorseJump",
        [289878116] = "HorseFall",
        [48955555] = "HorseRide",
        [48957148] = "HorseWalk",
        [321225258] = "Horse-Walk",
        [321277423] = "Horse-Ride",
        [119783214] = "ANIM_FlyGlider",
        [90872539] = "gliderfly",
        [90872566] = "gliderhold",
        [97172005] = "FlyAnim",
        [99031477] = "FlyAnim",
        [106759209] = "ride",
        [260671046] = "ATV-Equip",
        [327324663] = "Sleigh-SitPose",
        [35152447] = "boardkick",
        [46196182] = "PenguinWalk",
        [46196309] = "PenguinJump",
        [46333678] = "PenguinSlide",
        [48972923] = "WalkHorse",
        [48975505] = "HorseRide",
        [48977286] = "random",
        [48977338] = "otherran",
        [60337352] = "LungeAnim",
        [71409978] = "SwordHolsterAnim",
        [71526217] = "SwordWalkAnim",
        [71526265] = "SwordWalkAnim",
    },
    
    Weapon_Special = {
        [73033645] = "ANIM_Equip",
        [73033705] = "ANIM_SlashPower",
        [73033682] = "ANIM_SlashEnd",
        [73033669] = "ANIM_SlashBegin",
        [73033590] = "ANIM_CharginMa",
        [79155144] = "ANIM_equip",
        [79155154] = "ANIM_slash1",
        [79155149] = "ANIM_exitshield",
        [79155126] = "ANIM_entershield",
        [80979190] = "ANIM_equip",
        [80979197] = "ANIM_fly",
        [80979207] = "ANIM_stand",
        [80979216] = "ANIM_walk",
        [80980229] = "ANIM_equip",
        [80980235] = "ANIM_fly",
        [80980248] = "ANIM_walk",
        [82272273] = "ANIM_equip",
        [82272303] = "ANIM_fire",
        [82272327] = "ANIM_slash",
        [84058039] = "ANIM_PlainEquipAnim",
        [84058063] = "ANIM_PlainSlashAnim",
        [100353414] = "pitchforkHold",
        [100353779] = "pitchhold2",
        [100354942] = "chargearm",
        [100355175] = "charegearm3",
        [100355854] = "chargearm4",
        [100356237] = "chargearm5",
        [100356641] = "pitch",
        [105352446] = "attack",
        [105371229] = "idleAnim",
        [105371766] = "attack",
        [106629350] = "HelicopterArms",
        [1104305418] = "R15Summon",
        [1296930651] = "R15-Summon",
        [1323122603] = "R15DragonSpearHold",
        [1323151362] = "R15DragonSpearStab",
        [1442220193] = "R15_Slash",
        [247742499] = "Lightsaber-CenteredDownwardIdlePose",
        [247744115] = "Lightsaber-SidestepUpperSlash",
        [247745836] = "Lightsaber-SidestepSpin",
        [251075391] = "Heather'sAxe-Bash",
        [252395365] = "NinjaClaw-ChargeLoop",
        [2558577932] = "Lunge_R15",
        [259438880] = "DualPlungers-Spin",
        [259440107] = "DualPlungers-Hold",
        [262309036] = "AmericaSword-ReleaseCharge",
        [264034706] = "Car-IdlePose",
        [2695918332] = "Sleep-R15",
        [2733837253] = "Slam_R15",
        [2792575424] = "ThudR15",
        [2917193622] = "Stab-R15",
        [2917200442] = "TridentSlash-R15",
        [2917204509] = "Quake-R15",
        [3101877315] = "DaggerStab-R15",
        [3101922409] = "DaggerLunge-R15",
        [3101948279] = "TimeStop-R15",
        [3242522514] = "VVanquisher_ShieldBash_R15",
        [3242546836] = "VVanquisher_Idle_R15",
        [3242565264] = "VVanquisher_Slash_R15",
        [3972131105] = "RifleReload",
        [3972157449] = "NewRifleADS",
        [3972164452] = "NewRifleAim",
        [42071652] = "xswordfast3",
        [44418205] = "upleftTest",
        [44418501] = "downrightTest",
        [44418684] = "downLeftTest",
        [44420071] = "testHold",
        [44448649] = "UR",
        [44448652] = "M",
        [44448657] = "DR",
        [44448662] = "DL",
        [45069150] = "sledgehammer1",
        [45069652] = "sledgehammer2",
        [45080940] = "sledgehammer3",
        [45338022] = "testarmthing",
        [45733005] = "RHK",
        [45737360] = "RHK2",
        [45738282] = "RHK2",
        [45828430] = "NinjaDash",
        [45873069] = "NinjaSlash",
        [46151856] = "Whack",
        [46700863] = "StaffTaunt",
        [46728251] = "StaffSpin2",
        [46729357] = "StaffSpin4",
        [46729660] = "StaffSpin5",
        [46730431] = "StaffSpin5",
        [46730574] = "StaffSpin5",
        [46730700] = "StaffSpin5",
        [46754911] = "StaffSpin6",
        [46755449] = "StaffLunge",
        [46782694] = "StaffTaunt",
        [46785765] = "StaffTaunt",
        [47277200] = "ChakraThrow",
        [47594199] = "Tuba",
        [47594746] = "Tuba",
        [47919724] = "initiateCloneAnim",
        [48034501] = "KnightAnim",
        [48051381] = "ShadowLunge",
        [48088514] = "PirateSlash",
        [48108208] = "PirateSlash",
        [48137861] = "twoHandAnim",
        [48138189] = "TwoHandAnim",
        [48146488] = "Slash",
        [48534374] = "ForceStaffAnim",
        [48534664] = "ForceStaffAnim",
        [48885239] = "dualWalk",
        [48885707] = "DualWalk",
        [49456190] = "FireStaffAnim",
        [49457126] = "LightStaffAnim",
        [49486651] = "Zombie2",
        [49763871] = "ShieldWalk",
        [49867748] = "BowWalk",
        [49869442] = "ArrowAnim",
        [49869672] = "ArrowAnim",
        [51158587] = "Load",
        [51289487] = "Battojutsu",
        [51298927] = "Battojutsu",
        [51333396] = "Blow",
        [51334984] = "Blow",
        [52414165] = "Test",
        [53587901] = "JudgeAnim",
        [53590611] = "RaiseAnim",
        [53610688] = "StalkAnim",
        [539471275] = "R15-Bow-Idle",
        [539481961] = "R15-Bow-Hold",
        [539487908] = "R15-Bow-Fire",
        [54144120] = "KeyframeSequence",
        [54144767] = "TakeThat",
        [54145508] = "Test1",
        [54366612] = "SwordToPaper",
        [54371014] = "PaperToSword",
        [54601051] = "SpikesToFace",
        [54603604] = "Bonesaw",
        [54605944] = "Bonesaw",
        [54671810] = "WaveAnim",
        [54672068] = "WaveAnim",
        [54698510] = "PumpAnimation",
        [54699757] = "PumpAnim",
        [54700219] = "PumpAnim",
        [54700872] = "PumpAnim",
        [54700976] = "PumpAnim",
        [54933576] = "StickWhack",
        [54984748] = "StaffThud",
        [55020435] = "BaseballSwing",
        [55043896] = "StaffThud",
        [55054465] = "StaffThud",
        [55269454] = "WaveAnim",
        [55269680] = "WaveAnim",
        [55269906] = "WaveAnim",
        [55270038] = "WaveAnim",
        [55630898] = "AxeThrow",
        [55696748] = "AxeThrow",
        [55911435] = "ArrowAnim",
        [56146409] = "CannonUp",
        [56153856] = "CannonDown",
        [582384156] = "Spear_R15_Stab",
        [582795728] = "Left-Slash-R15",
        [582796162] = "Left-Swing-Fast-R15",
        [582796800] = "Overhead-Swing-R15",
        [582797263] = "Right-Slash-R15",
        [582797808] = "Right-Swing-Fast-R15",
        [582855105] = "Dash_R15",
        [582904971] = "Violin-Equip-R15",
        [582905411] = "Violin-Playing-R15",
        [582905992] = "Violin-Start-Playing-R15",
        [60814208] = "SliceAnim",
        [60816255] = "SpinAnim",
        [60816404] = "SpinAnim",
        [61887373] = "InfuseAnim",
        [61887471] = "InfuseAnim",
        [62319089] = "SlashAnim",
        [62319324] = "SlashAnim",
        [62319409] = "SlashAnim",
        [674871189] = "Overheard_Slash_R15",
        [675025570] = "Club_Side_Swipe_R15",
        [675025795] = "Club_Whack_R15",
        [696096087] = "Bunny_Hop_2_R15",
        [698251653] = "Bug_Net_R15_Swing",
        [698545987] = "R15CoastingPose",
        [698536628] = "R15LeftTurn",
        [698543303] = "R15RightTurn",
        [704173649] = "Pickaxe-R15-Swing",
        [708553116] = "Roped_Hold_R15",
        [71379944] = "WaveSlash",
        [71380167] = "WaveSlash",
        [71409911] = "SwordWalkAnim",
        [71410020] = "SwordWalkAnim",
        [71410058] = "WaveSlash2",
        [71526331] = "Slash",
        [71542554] = "BiteAnim2",
        [71542686] = "BiteAnim2",
        [717879555] = "Tennis_Racket_R15_Swing",
        [72040604] = "BowWalk",
        [72040689] = "BowWalk",
        [72041163] = "ArrowAnim",
        [72041223] = "RapidFireAnim",
        [72041331] = "RapidFireAnim",
        [72041372] = "ArrowAnim",
        [73257515] = "WalkAnim",
        [746398327] = "Mallet_Whack_R15",
        [746398698] = "Mallet-Bash-R15",
        [74795459] = "Random",
        [74909528] = "moon_slash_forward",
        [74909537] = "moon_slash_left",
        [74909569] = "moon_slash_sides",
        [754656200] = "Dual_Scythes_R15_Dual_Slash",
        [754658275] = "Dual_Scythes_R15_Spin",
        [807343012] = "R15Hold",
        [835635145] = "R15GuitarHold",
        [835649542] = "R15GuitarPluck",
        [846744780] = "R15Swing1",
        [852674878] = "R15Equip",
        [852708046] = "R15SideSwipe",
        [852713934] = "R15Swing",
        [852726299] = "R15LeftSlash",
        [852745427] = "R15RightSlash",
        [855683613] = "R15 ClaymoreSwing1",
        [855684969] = "R15 ClaymoreSwing2",
        [855685476] = "R15 Claymore Jump-Attack",
        [855686071] = "R15 Claymore Charge",
        [855743063] = "R15-Ape-Arms-Punch-1",
        [855744731] = "R15-Ape-Arms-Punch-3",
        [856734852] = "R15-War-Mace-Hold",
        [856823749] = "R15plane_throw",
        [858689613] = "R15-Two-Hand-Hold-Out",
        [858708190] = "R15-gunfire",
        [858738973] = "R15-Briefcase-Throw",
        [900850443] = "R15Spin",
        [92108526] = "ANIM_SaiSlash",
        [92154859] = "ANIM_SaiSlash",
    },
}

-- Get humanoid function
local function GetHumanoid()
    local char = Player.Character
    if char then
        return char:FindFirstChild("Humanoid")
    end
    return nil
end

-- Play animation function
local function PlayAnimation(animationId)
    local humanoid = GetHumanoid()
    if not humanoid then
        Rayfield:Notify({
            Title = "Error",
            Content = "Humanoid not found!",
            Duration = 3,
        })
        return
    end
    
    local success, err = pcall(function()
        local anim = Instance.new("Animation")
        anim.AnimationId = "rbxassetid://" .. tostring(animationId)
        local track = humanoid:LoadAnimation(anim)
        track:Play()
    end)
    
    if not success then
        Rayfield:Notify({
            Title = "Error",
            Content = "Failed to play animation",
            Duration = 2,
        })
    end
end

-- Create the GUI
local function CreateAnimationGUI()
    -- Create the main window
    local Window = Rayfield:CreateWindow({
        Name = "R6 Animation Loader",
        LoadingTitle = "Loading R6 Animations...",
        LoadingSubtitle = "Organizing into categories...",
        ConfigurationSaving = {
            Enabled = true,
            FolderName = "R6AnimLoader",
            FileName = "R6AnimLoader"
        },
        KeySystem = false,
    })
    
    -- Create tabs for each category
    local tabs = {}
    local tabIcons = {
        Movement = 4483362458,
        Combat = 4483362458,
        Ranged = 4483362458,
        Weapons_Equipment = 4483362458,
        Items_Tools = 4483362458,
        Dance_Emotes = 4483362458,
        Vehicles = 4483362458,
        Weapon_Special = 4483362458,
    }
    
    local totalAnimations = 0
    local animationButtons = {}
    
    -- Create tabs and store all animations for search
    for categoryName, animations in pairs(R6Animations) do
        local displayName = categoryName:gsub("_", " ")
        local tab = Window:CreateTab(displayName, tabIcons[categoryName] or 4483362458)
        tabs[categoryName] = tab
        
        -- Create sections within the tab
        local section = tab:CreateSection(displayName)
        local buttonCount = 0
        
        -- Sort animations by name
        local sorted = {}
        for id, name in pairs(animations) do
            table.insert(sorted, {id = id, name = name})
        end
        table.sort(sorted, function(a, b)
            return a.name < b.name
        end)
        
        -- Create buttons
        for _, anim in ipairs(sorted) do
            -- Create a new section every 60 buttons
            if buttonCount % 60 == 0 and buttonCount > 0 then
                section = tab:CreateSection(displayName .. " (" .. (buttonCount + 1) .. "+)")
            end
            
            tab:CreateButton({
                Name = anim.name,
                Callback = function()
                    PlayAnimation(anim.id)
                end,
            })
            
            table.insert(animationButtons, {name = anim.name, id = anim.id, category = categoryName})
            buttonCount = buttonCount + 1
            totalAnimations = totalAnimations + 1
        end
    end
    
    -- Create Search Tab
    local SearchTab = Window:CreateTab("Search", 4483362458)
    local SearchSection = SearchTab:CreateSection("Search Animations")
    
    SearchTab:CreateInput({
        Name = "Search",
        PlaceholderText = "Type animation name...",
        Callback = function(text)
            -- Clear previous search results
            for _, child in ipairs(SearchTab:GetChildren()) do
                if child:IsA("Frame") and child.Name ~= "Search" and child.Name ~= "Search Animations" then
                    child:Destroy()
                end
            end
            
            local ResultsSection = SearchTab:CreateSection("Search Results")
            
            if text == "" then
                ResultsSection:SetText("Type to search")
                return
            end
            
            local found = 0
            local searchText = string.lower(text)
            
            for _, anim in ipairs(animationButtons) do
                if string.find(string.lower(anim.name), searchText) then
                    SearchTab:CreateButton({
                        Name = anim.name .. " (" .. anim.category:gsub("_", " ") .. ")",
                        Callback = function()
                            PlayAnimation(anim.id)
                        end,
                    })
                    found = found + 1
                end
            end
            
            if found == 0 then
                ResultsSection:SetText("No matches found")
            else
                ResultsSection:SetText("Found " .. found .. " animations")
            end
        end
    })
    
    -- Create Controls Tab
    local ControlsTab = Window:CreateTab("Controls", 4483362458)
    local ControlsSection = ControlsTab:CreateSection("Controls")
    
    ControlsTab:CreateButton({
        Name = "Stop All Animations",
        Callback = function()
            local humanoid = GetHumanoid()
            if humanoid then
                local animator = humanoid:FindFirstChild("Animator")
                if animator then
                    for _, track in ipairs(animator:GetPlayingAnimationTracks()) do
                        track:Stop()
                    end
                end
                Rayfield:Notify({
                    Title = "Stopped",
                    Content = "All animations stopped",
                    Duration = 2,
                })
            end
        end,
    })
    
    ControlsTab:CreateButton({
        Name = "Reset Character",
        Callback = function()
            local humanoid = GetHumanoid()
            if humanoid then
                humanoid:BreakJoints()
            end
        end,
    })
    
    ControlsTab:CreateButton({
        Name = "Reload GUI",
        Callback = function()
            Window:Destroy()
            wait(0.5)
            CreateAnimationGUI()
        end,
    })
    
    -- Info
    ControlsTab:CreateLabel("Total R6 Animations: " .. totalAnimations)
    ControlsTab:CreateLabel("Categories: " .. #tabs)
    
    -- Finish loading
    Window:SetLoadingProgress(1)
    Window:DestroyLoadingScreen()
    
    Rayfield:Notify({
        Title = "Loaded",
        Content = totalAnimations .. " R6 animations organized into " .. #tabs .. " tabs!",
        Duration = 3,
    })
end

-- Main execution
local success, err = pcall(CreateAnimationGUI)
if not success then
    warn("Error: " .. tostring(err))
    Rayfield:Notify({
        Title = "Error",
        Content = "Failed to load GUI: " .. tostring(err),
        Duration = 5,
    })
end