Mike1-481- Posted April 19, 2021 Share Posted April 19, 2021 I don't know how to add keybinding to skript, I want to create a custom item which shoots a enderpearl when you click "x" but I don't know how to use keybinding in skript. My code is: command /Endaxe: trigger: give player 1 netherite axe named "&5&lEND AXE" with lore "" and "&b&lWe are one" on damage: if name of attacker's held item is "&5&lEND AXE": add 200 to the damage on pressing x holding netherite axe: if name of player's held item is "&5&lEND AXE": shoot Enderpearl at speed 5 Can someone please help me Link to comment Share on other sites More sharing options...
BanditEagle Posted April 19, 2021 Share Posted April 19, 2021 I am not 100% confident in what I am going to say.. but.. I don't think it is possible to do "keybinding" in skript currently. I could be wrong, but I can't seem to find anything to point to it existing. If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
CoolProgrammer Posted April 19, 2021 Share Posted April 19, 2021 37 minutes ago, Mike1-481- said: I don't know how to add keybinding to skript, I want to create a custom item which shoots a enderpearl when you click "x" but I don't know how to use keybinding in skript. My code is: command /Endaxe: trigger: give player 1 netherite axe named "&5&lEND AXE" with lore "" and "&b&lWe are one" on damage: if name of attacker's held item is "&5&lEND AXE": add 200 to the damage on pressing x holding netherite axe: if name of player's held item is "&5&lEND AXE": shoot Enderpearl at speed 5 Can someone please help me Sadly, that's not possible unless you have client-side modifications. Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
DashElector Posted December 27, 2022 Share Posted December 27, 2022 You can use the key "F" as a key bind, since its an event of putting an item in your off-hand. Link to comment Share on other sites More sharing options...
CollinUpp Posted December 27, 2022 Share Posted December 27, 2022 nacroposting? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now