Advertisement
alexhernandezroblox

Untitled

Apr 22nd, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.13 KB | None | 0 0
  1. local keybinds = {}
  2.  
  3. keybinds.Moves = {
  4.     ["Boxer"] = {
  5.         ["Jab"] = {
  6.             VFX = game.ReplicatedStorage.VFX.Boxing.Jab,
  7.             VFXOffset = {CFrame.new(0.28, 0.3, -2.56), CFrame.new(-0.28, 0.3, -2.56)},
  8.             SelfCooldown = {0.8, 0.8},
  9.             HitboxSize = {Vector3.new(3.5, 4.5, 3 + 1.4), Vector3.new(3.5, 4.5, 3 + 1.4)},
  10.             HitboxOffset = {CFrame.new(0.3, -0.75, -3), CFrame.new(0.3, -0.75, -3)},
  11.             BlockBarDamage = {10, 10},
  12.             Length = {16/60, 16/60},
  13.             GeneralCooldown = {0.5, 0.5},
  14.             Damage = {6,6},
  15.             Stun = {1, 1},
  16.             Keybind = {Enum.UserInputType.MouseButton1, Enum.KeyCode.ButtonR2}, -- REQUIRED
  17.             KeybindDisplay = {"M1", "R2"}, -- REQUIRED
  18.             Class = "Boxer", -- REQUIRED
  19.             Name = "Jab", -- REQUIRED
  20.             MaxHits = 1, -- how many players it can hit max
  21.             Knockback = {15, 15}, -- the knockback it does
  22.             KnockbackTime = {0.1, 0.1}, -- how long the knockback will last
  23.         },
  24.         ["Uppercut"] = {
  25.             VFX = nil,
  26.             VFXOffset = {},
  27.             SelfCooldown = {5},
  28.             HitboxSize = {},
  29.             HitboxOffset = {},
  30.             BlockBarDamage = 30,
  31.             Length = {},
  32.             GeneralCooldown = {0.8},
  33.             Damage = {15},
  34.             Stun = {2},
  35.             Keybind = {Enum.KeyCode.E, Enum.KeyCode.ButtonB},
  36.             KeybindDisplay = {"E", "B/Square"},
  37.             Class = "Boxer",
  38.             Name = "Uppercut",
  39.             MaxHits = 1,
  40.             Knockback = {50},
  41.             KnockbackTime = {0.1}
  42.         },
  43.         ["Block"] = {
  44.             VFX = game.ReplicatedStorage.VFX.Boxing.Block,
  45.             VFXOffset = {CFrame.new(0, 0.65, -1), CFrame.new(0, 0.65, -1)},
  46.             SelfCooldown = {0.3},
  47.             GeneralCooldown = {0.3},
  48.             Class = "Boxer",
  49.             Name = "Block",
  50.             Keybind = {Enum.KeyCode.F, Enum.KeyCode.ButtonL2},
  51.             KeybindDisplay = {"F", "R1"}
  52.         }
  53.     }
  54. }
  55.  
  56. keybinds.KeybindDisplays = {
  57.     -- Mouse Inputs
  58.     [Enum.UserInputType.MouseButton1] = "M1",
  59.     [Enum.UserInputType.MouseButton2] = "M2",
  60.     [Enum.UserInputType.MouseButton3] = "M3",
  61.  
  62.     -- Controller Inputs
  63.     [Enum.KeyCode.ButtonA] = "A",
  64.     [Enum.KeyCode.ButtonB] = "B",
  65.     [Enum.KeyCode.ButtonX] = "X",
  66.     [Enum.KeyCode.ButtonY] = "Y",
  67.     [Enum.KeyCode.ButtonL1] = "L1",
  68.     [Enum.KeyCode.ButtonR1] = "R1",
  69.     [Enum.KeyCode.ButtonL2] = "L2",
  70.     [Enum.KeyCode.ButtonR2] = "R2",
  71.     [Enum.KeyCode.DPadLeft] = "D-Pad Left",
  72.     [Enum.KeyCode.DPadRight] = "D-Pad Right",
  73.     [Enum.KeyCode.DPadUp] = "D-Pad Up",
  74.     [Enum.KeyCode.DPadDown] = "D-Pad Down",
  75.     [Enum.KeyCode.ButtonL3] = "L3",
  76.     [Enum.KeyCode.ButtonR3] = "R3",
  77.  
  78.     -- PC Inputs
  79.     [Enum.KeyCode.Q] = "Q",
  80.     [Enum.KeyCode.E] = "E",
  81.     [Enum.KeyCode.R] = "R",
  82.     [Enum.KeyCode.T] = "T",
  83.     [Enum.KeyCode.Y] = "Y",
  84.     [Enum.KeyCode.U] = "U",
  85.     [Enum.KeyCode.I] = "I",
  86.     [Enum.KeyCode.O] = "O",
  87.     [Enum.KeyCode.P] = "P",
  88.     [Enum.KeyCode.F] = "F",
  89.     [Enum.KeyCode.G] = "G",
  90.     [Enum.KeyCode.H] = "H",
  91.     [Enum.KeyCode.J] = "J",
  92.     [Enum.KeyCode.K] = "K",
  93.     [Enum.KeyCode.L] = "L",
  94.     [Enum.KeyCode.Z] = "Z",
  95.     [Enum.KeyCode.X] = "X",
  96.     [Enum.KeyCode.C] = "C",
  97.     [Enum.KeyCode.V] = "V",
  98.     [Enum.KeyCode.B] = "B",
  99.     [Enum.KeyCode.N] = "N",
  100.     [Enum.KeyCode.M] = "M",
  101.     [Enum.KeyCode.Comma] = ",",
  102.     [Enum.KeyCode.Period] = ".",
  103.     [Enum.KeyCode.Slash] = "/",
  104.     [Enum.KeyCode.Semicolon] = ";",
  105.     [Enum.KeyCode.Quote] = "'",
  106.     [Enum.KeyCode.LeftBracket] = "[",
  107.     [Enum.KeyCode.RightBracket] = "]",
  108.     [Enum.KeyCode.BackSlash] = "\\",
  109.     [Enum.KeyCode.Minus] = "-",
  110.     [Enum.KeyCode.Equals] = "=",
  111.     [Enum.KeyCode.KeypadPlus] = "Numpad +",
  112.     [Enum.KeyCode.KeypadMinus] = "Numpad -",
  113.     [Enum.KeyCode.KeypadMultiply] = "Numpad *",
  114.     [Enum.KeyCode.KeypadDivide] = "Numpad /",
  115.     [Enum.KeyCode.KeypadPeriod] = "Numpad .",
  116.     [Enum.KeyCode.KeypadZero] = "Numpad 0",
  117.     [Enum.KeyCode.KeypadOne] = "Numpad 1",
  118.     [Enum.KeyCode.KeypadTwo] = "Numpad 2",
  119.     [Enum.KeyCode.KeypadThree] = "Numpad 3",
  120.     [Enum.KeyCode.KeypadFour] = "Numpad 4",
  121.     [Enum.KeyCode.KeypadFive] = "Numpad 5",
  122.     [Enum.KeyCode.KeypadSix] = "Numpad 6",
  123.     [Enum.KeyCode.KeypadSeven] = "Numpad 7",
  124.     [Enum.KeyCode.KeypadEight] = "Numpad 8",
  125.     [Enum.KeyCode.KeypadNine] = "Numpad 9",
  126. }
  127.  
  128. keybinds.ProhibitedKeybinds = {
  129.     [keybinds.Moves.Boxer.Jab.Keybind] = true,
  130.    
  131.     -- Mobile Input Restrictions
  132.     [Enum.UserInputType.Gyro] = true,
  133.     [Enum.UserInputType.Focus] = true,
  134.     [Enum.UserInputType.Accelerometer] = true,
  135.     [Enum.UserInputType.None] = true,
  136.     [Enum.UserInputType.MouseMovement] = true,
  137.     [Enum.UserInputType.InputMethod] = true,
  138.  
  139.     -- Keyboard Movement & Essentials
  140.     [Enum.KeyCode.W] = true,
  141.     [Enum.KeyCode.A] = true,
  142.     [Enum.KeyCode.S] = true,
  143.     [Enum.KeyCode.D] = true,
  144.     [Enum.KeyCode.Space] = true,
  145.     [Enum.KeyCode.LeftShift] = true,
  146.     [Enum.KeyCode.Escape] = true,
  147.     [Enum.UserInputType.MouseButton2] = true,
  148.    
  149.     -- Function & Special Keys
  150.     [Enum.KeyCode.F1] = true,
  151.     [Enum.KeyCode.F2] = true,
  152.     [Enum.KeyCode.F3] = true,
  153.     [Enum.KeyCode.F4] = true,
  154.     [Enum.KeyCode.F5] = true,
  155.     [Enum.KeyCode.F6] = true,
  156.     [Enum.KeyCode.F7] = true,
  157.     [Enum.KeyCode.F8] = true,
  158.     [Enum.KeyCode.F9] = true,
  159.     [Enum.KeyCode.F10] = true,
  160.     [Enum.KeyCode.F11] = true,
  161.     [Enum.KeyCode.F12] = true,
  162.     [Enum.KeyCode.Print] = true,
  163.     [Enum.KeyCode.Insert] = true,
  164.     [Enum.KeyCode.Delete] = true,
  165.     [Enum.KeyCode.Home] = true,
  166.     [Enum.KeyCode.End] = true,
  167.     [Enum.KeyCode.PageUp] = true,
  168.     [Enum.KeyCode.PageDown] = true,
  169.     [Enum.KeyCode.CapsLock] = true,
  170.     [Enum.KeyCode.NumLock] = true,
  171.     [Enum.KeyCode.ScrollLock] = true,
  172.     [Enum.KeyCode.Tab] = true,
  173.     [Enum.KeyCode.Backspace] = true,
  174.     [Enum.KeyCode.KeypadEnter] = true,
  175.  
  176.     -- Modifier Keys
  177.     [Enum.KeyCode.LeftControl] = true,
  178.     [Enum.KeyCode.RightControl] = true,
  179.     [Enum.KeyCode.LeftAlt] = true,
  180.     [Enum.KeyCode.RightAlt] = true,
  181.     [Enum.KeyCode.LeftShift] = true,
  182.     [Enum.KeyCode.RightShift] = true,
  183.     [Enum.KeyCode.LeftSuper] = true,
  184.     [Enum.KeyCode.RightSuper] = true,
  185.  
  186.     -- Arrow Keys
  187.     [Enum.KeyCode.Up] = true,
  188.     [Enum.KeyCode.Left] = true,
  189.     [Enum.KeyCode.Right] = true,
  190.     [Enum.KeyCode.Down] = true,
  191.     [Enum.KeyCode.Return] = true,
  192.     [Enum.KeyCode.Backquote] = true,
  193.  
  194.     -- Controller Movement & Actions
  195.     [Enum.KeyCode.Thumbstick1] = true, -- Left Stick (Movement)
  196.     [Enum.KeyCode.Thumbstick2] = true, -- Right Stick (Camera)
  197.     [Enum.KeyCode.ButtonA] = true, -- Jump
  198.     [Enum.KeyCode.ButtonStart] = true, -- Usually Menu/Pause
  199.     [Enum.KeyCode.ButtonSelect] = true, -- Usually View/Map
  200.     [Enum.KeyCode.ButtonL3] = true,
  201.     [Enum.KeyCode.ButtonR3] = true,
  202. }
  203.  
  204. return keybinds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement