Ryanogic
(ryan)
June 12, 2022, 7:32am
#1
I was wondering how to use keybinds inside a plugin, I am creating my own plugin and keybinds would really speed up the process.
I know how to use keybinds with UserInputService, but I am pretty sure that requires LocalScripts which dont work in plugins.
An example of what I mean is the F3X plugin (Shift + X to remove part)
1 Like
kalabgs
(FartFella)
June 12, 2022, 10:28am
#2
In plugins you can use server script for user input service, also using local script or server script have no difference when used in plugins
NeoBuilds
(NeoBuilds)
June 12, 2022, 11:21am
#3
PluginActions is the way to create keybinds for plugins. PluginAction keybind can be set by user. You can create PluginActions using Plugin.CreatePluginAction and detect when the action was triggered with PluginAction.Triggered .
1 Like
Ryanogic
(ryan)
June 13, 2022, 8:51am
#4
LocalScripts wont work in my plugin.