Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local basalt = require("basalt")
- local main = basalt.createFrame()
- local aButton = main:addButton():setText("Click me"):setPosition(3,3):onClick(function() basalt.debug("Click me baby one more time!") end)
- basalt.autoUpdate() -- this starts the event listener
Add Comment
Please, Sign In to add comment