Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.6K
Choose Outfit #52

Uses the outfit window randomise to select an outfit.
I don't recommend you use this but its just an example on how to use other modules.

357b | 12 lines.
--[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
]]--
UI.Button("Outfit", function()
    g_game.requestOutfit()
    schedule(100, function()
        if modules.game_outfit.outfitWindow then
            modules.game_outfit.outfitWindow:hide()
            modules.game_outfit.randomize()
            schedule(1000, function()
                modules.game_outfit.accept()
            end)
        end
    end)
end)

09 Aug 2021
Ads