UnbindButton (Function)

From Goodblox Wiki
Revision as of 05:08, 27 September 2021 by Xyrafrost (talk | contribs) (created the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Function
Syntax UnbindButton( Button button )
Returns n/a
Description: Removes the bind on button.
In Object: Controller


Example

When run from a LocalScript...

game:GetService("ControllerService").Instance:BindButton(Enum.Button.Dismount, "Win")
wait(1)
game:GetService("ControllerService").Instance:UnbindButton(Enum.Button.Dismount)
-- Will show "Win" for 1 second, then remove it.