Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local keybinds = {}
- keybinds.Moves = {
- ["Boxer"] = {
- ["Jab"] = {
- VFX = game.ReplicatedStorage.VFX.Boxing.Jab,
- VFXOffset = {CFrame.new(0.28, 0.3, -2.56), CFrame.new(-0.28, 0.3, -2.56)},
- SelfCooldown = {0.8, 0.8},
- HitboxSize = {Vector3.new(3.5, 4.5, 3 + 1.4), Vector3.new(3.5, 4.5, 3 + 1.4)},
- HitboxOffset = {CFrame.new(0.3, -0.75, -3), CFrame.new(0.3, -0.75, -3)},
- BlockBarDamage = {10, 10},
- Length = {16/60, 16/60},
- GeneralCooldown = {0.5, 0.5},
- Damage = {6,6},
- Stun = {1, 1},
- Keybind = {Enum.UserInputType.MouseButton1, Enum.KeyCode.ButtonR2}, -- REQUIRED
- KeybindDisplay = {"M1", "R2"}, -- REQUIRED
- Class = "Boxer", -- REQUIRED
- Name = "Jab", -- REQUIRED
- MaxHits = 1, -- how many players it can hit max
- Knockback = {15, 15}, -- the knockback it does
- KnockbackTime = {0.1, 0.1}, -- how long the knockback will last
- },
- ["Uppercut"] = {
- VFX = nil,
- VFXOffset = {},
- SelfCooldown = {5},
- HitboxSize = {},
- HitboxOffset = {},
- BlockBarDamage = 30,
- Length = {},
- GeneralCooldown = {0.8},
- Damage = {15},
- Stun = {2},
- Keybind = {Enum.KeyCode.E, Enum.KeyCode.ButtonB},
- KeybindDisplay = {"E", "B/Square"},
- Class = "Boxer",
- Name = "Uppercut",
- MaxHits = 1,
- Knockback = {50},
- KnockbackTime = {0.1}
- },
- ["Block"] = {
- VFX = game.ReplicatedStorage.VFX.Boxing.Block,
- VFXOffset = {CFrame.new(0, 0.65, -1), CFrame.new(0, 0.65, -1)},
- SelfCooldown = {0.3},
- GeneralCooldown = {0.3},
- Class = "Boxer",
- Name = "Block",
- Keybind = {Enum.KeyCode.F, Enum.KeyCode.ButtonL2},
- KeybindDisplay = {"F", "R1"}
- }
- }
- }
- keybinds.KeybindDisplays = {
- -- Mouse Inputs
- [Enum.UserInputType.MouseButton1] = "M1",
- [Enum.UserInputType.MouseButton2] = "M2",
- [Enum.UserInputType.MouseButton3] = "M3",
- -- Controller Inputs
- [Enum.KeyCode.ButtonA] = "A",
- [Enum.KeyCode.ButtonB] = "B",
- [Enum.KeyCode.ButtonX] = "X",
- [Enum.KeyCode.ButtonY] = "Y",
- [Enum.KeyCode.ButtonL1] = "L1",
- [Enum.KeyCode.ButtonR1] = "R1",
- [Enum.KeyCode.ButtonL2] = "L2",
- [Enum.KeyCode.ButtonR2] = "R2",
- [Enum.KeyCode.DPadLeft] = "D-Pad Left",
- [Enum.KeyCode.DPadRight] = "D-Pad Right",
- [Enum.KeyCode.DPadUp] = "D-Pad Up",
- [Enum.KeyCode.DPadDown] = "D-Pad Down",
- [Enum.KeyCode.ButtonL3] = "L3",
- [Enum.KeyCode.ButtonR3] = "R3",
- -- PC Inputs
- [Enum.KeyCode.Q] = "Q",
- [Enum.KeyCode.E] = "E",
- [Enum.KeyCode.R] = "R",
- [Enum.KeyCode.T] = "T",
- [Enum.KeyCode.Y] = "Y",
- [Enum.KeyCode.U] = "U",
- [Enum.KeyCode.I] = "I",
- [Enum.KeyCode.O] = "O",
- [Enum.KeyCode.P] = "P",
- [Enum.KeyCode.F] = "F",
- [Enum.KeyCode.G] = "G",
- [Enum.KeyCode.H] = "H",
- [Enum.KeyCode.J] = "J",
- [Enum.KeyCode.K] = "K",
- [Enum.KeyCode.L] = "L",
- [Enum.KeyCode.Z] = "Z",
- [Enum.KeyCode.X] = "X",
- [Enum.KeyCode.C] = "C",
- [Enum.KeyCode.V] = "V",
- [Enum.KeyCode.B] = "B",
- [Enum.KeyCode.N] = "N",
- [Enum.KeyCode.M] = "M",
- [Enum.KeyCode.Comma] = ",",
- [Enum.KeyCode.Period] = ".",
- [Enum.KeyCode.Slash] = "/",
- [Enum.KeyCode.Semicolon] = ";",
- [Enum.KeyCode.Quote] = "'",
- [Enum.KeyCode.LeftBracket] = "[",
- [Enum.KeyCode.RightBracket] = "]",
- [Enum.KeyCode.BackSlash] = "\\",
- [Enum.KeyCode.Minus] = "-",
- [Enum.KeyCode.Equals] = "=",
- [Enum.KeyCode.KeypadPlus] = "Numpad +",
- [Enum.KeyCode.KeypadMinus] = "Numpad -",
- [Enum.KeyCode.KeypadMultiply] = "Numpad *",
- [Enum.KeyCode.KeypadDivide] = "Numpad /",
- [Enum.KeyCode.KeypadPeriod] = "Numpad .",
- [Enum.KeyCode.KeypadZero] = "Numpad 0",
- [Enum.KeyCode.KeypadOne] = "Numpad 1",
- [Enum.KeyCode.KeypadTwo] = "Numpad 2",
- [Enum.KeyCode.KeypadThree] = "Numpad 3",
- [Enum.KeyCode.KeypadFour] = "Numpad 4",
- [Enum.KeyCode.KeypadFive] = "Numpad 5",
- [Enum.KeyCode.KeypadSix] = "Numpad 6",
- [Enum.KeyCode.KeypadSeven] = "Numpad 7",
- [Enum.KeyCode.KeypadEight] = "Numpad 8",
- [Enum.KeyCode.KeypadNine] = "Numpad 9",
- }
- keybinds.ProhibitedKeybinds = {
- [keybinds.Moves.Boxer.Jab.Keybind] = true,
- -- Mobile Input Restrictions
- [Enum.UserInputType.Gyro] = true,
- [Enum.UserInputType.Focus] = true,
- [Enum.UserInputType.Accelerometer] = true,
- [Enum.UserInputType.None] = true,
- [Enum.UserInputType.MouseMovement] = true,
- [Enum.UserInputType.InputMethod] = true,
- -- Keyboard Movement & Essentials
- [Enum.KeyCode.W] = true,
- [Enum.KeyCode.A] = true,
- [Enum.KeyCode.S] = true,
- [Enum.KeyCode.D] = true,
- [Enum.KeyCode.Space] = true,
- [Enum.KeyCode.LeftShift] = true,
- [Enum.KeyCode.Escape] = true,
- [Enum.UserInputType.MouseButton2] = true,
- -- Function & Special Keys
- [Enum.KeyCode.F1] = true,
- [Enum.KeyCode.F2] = true,
- [Enum.KeyCode.F3] = true,
- [Enum.KeyCode.F4] = true,
- [Enum.KeyCode.F5] = true,
- [Enum.KeyCode.F6] = true,
- [Enum.KeyCode.F7] = true,
- [Enum.KeyCode.F8] = true,
- [Enum.KeyCode.F9] = true,
- [Enum.KeyCode.F10] = true,
- [Enum.KeyCode.F11] = true,
- [Enum.KeyCode.F12] = true,
- [Enum.KeyCode.Print] = true,
- [Enum.KeyCode.Insert] = true,
- [Enum.KeyCode.Delete] = true,
- [Enum.KeyCode.Home] = true,
- [Enum.KeyCode.End] = true,
- [Enum.KeyCode.PageUp] = true,
- [Enum.KeyCode.PageDown] = true,
- [Enum.KeyCode.CapsLock] = true,
- [Enum.KeyCode.NumLock] = true,
- [Enum.KeyCode.ScrollLock] = true,
- [Enum.KeyCode.Tab] = true,
- [Enum.KeyCode.Backspace] = true,
- [Enum.KeyCode.KeypadEnter] = true,
- -- Modifier Keys
- [Enum.KeyCode.LeftControl] = true,
- [Enum.KeyCode.RightControl] = true,
- [Enum.KeyCode.LeftAlt] = true,
- [Enum.KeyCode.RightAlt] = true,
- [Enum.KeyCode.LeftShift] = true,
- [Enum.KeyCode.RightShift] = true,
- [Enum.KeyCode.LeftSuper] = true,
- [Enum.KeyCode.RightSuper] = true,
- -- Arrow Keys
- [Enum.KeyCode.Up] = true,
- [Enum.KeyCode.Left] = true,
- [Enum.KeyCode.Right] = true,
- [Enum.KeyCode.Down] = true,
- [Enum.KeyCode.Return] = true,
- [Enum.KeyCode.Backquote] = true,
- -- Controller Movement & Actions
- [Enum.KeyCode.Thumbstick1] = true, -- Left Stick (Movement)
- [Enum.KeyCode.Thumbstick2] = true, -- Right Stick (Camera)
- [Enum.KeyCode.ButtonA] = true, -- Jump
- [Enum.KeyCode.ButtonStart] = true, -- Usually Menu/Pause
- [Enum.KeyCode.ButtonSelect] = true, -- Usually View/Map
- [Enum.KeyCode.ButtonL3] = true,
- [Enum.KeyCode.ButtonR3] = true,
- }
- return keybinds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement