--Name of the toggle, default state of the toggle, callbackwindow:Toggle("Example toggle", true, function(bool)
print(bool) -- bool is true or false depending on the state of the toggleend)
Add color picker
--Name, default color (set to true to make the default rainbow), callbackwindow:ColorPicker("Color Picker", Color3.fromRGB(255, 255, 255), function(color)
print(color)
end)
Add slider
--Name of slider, minimum value, maximum value, default value, callbackwindow:Slider("Example Slider",0,100,20, function(value)
print(value)
end)
Add label
-- Text, color: setting color to true will give it a rainbow effect!window:Label("Credits to SkieHacker and Intrer#0421", Color3.fromRGB(127, 143, 166))
Add input box
-- Name, callbackwindow:Box("Walkspeed", function(text, focuslost)
iffocuslostthenprint(text)
endend)
-- The callback will be called with two arguments, the text that the player inputted and whether the player has stopped writing
Add dropdown
-- Name, table with names of the button that you want, callback that will be called with the name of the button that was pressedlocaldropdown=window:Dropdown("Example dropdown", {"Button 1", "Button 2", "Third button"}, function(name)
print(name)
end)