Action Data (Keybind)
Press Data
{
lastDebounce = tick(): int -- last tick
}Hold Data
{
on = boolean
}Toggle Data
Reduce Network Activity
Example
Last updated
{
lastDebounce = tick(): int -- last tick
}{
on = boolean
}Last updated
{
on = boolean
}{
actions = {
[Enum.KeyCode.Q] = {
Tip = "Quit actor class",
ActionType = "Press",
Cooldown = 1,
Callback = function(Actor)
if RunService:IsClient() then
Actor.Event:InvokeServer("Destroy")
end
return Actor
end,
},
}
}