Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Library & Managers:
- local Library = loadstring(game:HttpGet('https://raw.githubusercontent.com/RegularVynixu/UI-Libraries/main/Vynixius/Source.lua'))()
- local Theme = {
- Accent = Color3.fromRGB(0, 255, 0),
- TopbarColor = Color3.fromRGB(20, 20, 20),
- SidebarColor = Color3.fromRGB(15, 15, 15),
- BackgroundColor = Color3.fromRGB(10, 10, 10),
- SectionColor = Color3.fromRGB(20, 20, 20),
- TextColor = Color3.fromRGB(255, 255, 255),
- }
- local Window = Library:AddWindow({
- title = {'Project Slayers', 'Helper'},
- theme = Theme,
- key = Enum.KeyCode.RightAlt
- })
- local settings = {
- clan = {
- selected_clan = '',
- auto_spin = false
- }
- }
- -- Auto Spin:
- local Clans_Module_Script = require(game:GetService("ReplicatedStorage").Modules.Global["Random_Clan_Picker"])
- local All_Clans = {}
- local Clans = {
- ["Common"] = {},
- ["UnCommon"] = {},
- ["Rare"] = {},
- ["Legendary"] = {},
- ["Mythic"] = {},
- ["Supreme"] = {}
- }
- for i, _ in next, Clans do
- for j,k in next, Clans_Module_Script do
- if j == i then
- for _, v2 in next, k do
- table.insert(Clans[i], v2)
- end
- end
- end
- end
- for _, v in next, Clans do
- for _, v2 in next, v do
- table.insert(All_Clans, v2)
- end
- end
- -- Menu
- local ClanModTab = Window:AddTab('Clan Mods') do
- local section = ClanModTab:AddSection('Spinning') do
- section:AddDropdown("All Clans", All_Clans, "Common", function(x)
- settings.clan.selected_clan = x
- end)
- section:AddToggle('Auto Spin', 'Test', function(state)
- settings.clan.auto_spin = state
- end)
- end
- end
- local client = game:GetService("Players").LocalPlayer
- task.spawn(function()
- while task.wait(0.3) do
- if settings.clan.auto_spin then
- if not string.find(client.PlayerGui.Customization.Spin.Holder.TextLabel.Text, settings.clan.selected_clan) then
- for _, variable in next, getconnections(client:FindFirstChild("PlayerGui"):FindFirstChild("Customization"):FindFirstChild("Spin"):FindFirstChild("Spin").MouseButton1Down) do
- variable.Function()
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement