Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local win = {}
- if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Slaxxic") ~= nil then
- game.Players.LocalPlayer.PlayerGui:FindFirstChild("Slaxxic"):Destroy()
- end
- local Slaxxic = Instance.new("ScreenGui")
- Slaxxic.Name = "Slaxxic"
- Slaxxic.Parent = game.Players.LocalPlayer.PlayerGui
- Slaxxic.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Slaxxic.ResetOnSpawn = false
- -- loader
- m=game.Players.LocalPlayer:GetMouse()
- function CircleClick(Button, X, Y)
- coroutine.resume(coroutine.create(function()
- Button.ClipsDescendants = true
- local Circle = Instance.new("ImageLabel")
- local UICorner_34 = Instance.new("UICorner")
- Circle.Name = "Circle"
- Circle.Parent = Button
- Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Circle.BackgroundTransparency = 1.000
- Circle.ZIndex = 10
- Circle.Image = "rbxassetid://266543268"
- Circle.ImageColor3 = Color3.fromRGB(0, 0, 0)
- Circle.ImageTransparency = 0.500
- UICorner_34.CornerRadius = UDim.new(0, 6)
- UICorner_34.Parent = Circle
- local NewX = X - Circle.AbsolutePosition.X
- local NewY = Y - Circle.AbsolutePosition.Y
- Circle.Position = UDim2.new(0, NewX, 0, NewY)
- local Size = 0
- if Button.AbsoluteSize.X > Button.AbsoluteSize.Y then
- Size = Button.AbsoluteSize.X
- elseif Button.AbsoluteSize.X < Button.AbsoluteSize.Y then
- Size = Button.AbsoluteSize.Y
- elseif Button.AbsoluteSize.X == Button.AbsoluteSize.Y then
- Size = Button.AbsoluteSize.X
- end
- local Time = 0.5
- Circle:TweenSizeAndPosition(UDim2.new(0, Size, 0, Size), UDim2.new(0.5, -Size/2, 0.5, -Size/2), "Out", "Quad", Time, false, nil)
- for i=1,10 do
- Circle.ImageTransparency = Circle.ImageTransparency + 0.01
- wait(Time/10)
- end
- Circle:Destroy()
- end))
- end
- local Loader = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Fade1 = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local Fade3 = Instance.new("Frame")
- local UICorner_3 = Instance.new("UICorner")
- local Fade2 = Instance.new("Frame")
- local UICorner_4 = Instance.new("UICorner")
- local Fade4 = Instance.new("Frame")
- local UICorner_5 = Instance.new("UICorner")
- local Fade5 = Instance.new("Frame")
- local UICorner_6 = Instance.new("UICorner")
- local Fade6 = Instance.new("Frame")
- local UICorner_7 = Instance.new("UICorner")
- local MainFr = Instance.new("Frame")
- local UICorner_8 = Instance.new("UICorner")
- local Title = Instance.new("TextLabel")
- Loader.Name = "Loader"
- Loader.Parent = Slaxxic
- Loader.AnchorPoint = Vector2.new(0.5, 0.5)
- Loader.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Loader.BorderSizePixel = 0
- Loader.Position = UDim2.new(0.5, 0, 0.5, 0)
- Loader.Size = UDim2.new(0, 303, 0, 46)
- Loader.Visible = false
- Loader.ZIndex = 2
- UICorner.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner.Parent = Loader
- Fade1.Name = "Fade1"
- Fade1.Parent = Loader
- Fade1.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade1.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade1.BackgroundTransparency = 0.100
- Fade1.BorderSizePixel = 0
- Fade1.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade1.Size = UDim2.new(1.00666666, 0, 1.00999999, 0)
- UICorner_2.CornerRadius = UDim.new(0, 6)
- UICorner_2.Parent = Fade1
- Fade3.Name = "Fade3"
- Fade3.Parent = Loader
- Fade3.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade3.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade3.BackgroundTransparency = 0.300
- Fade3.BorderSizePixel = 0
- Fade3.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade3.Size = UDim2.new(1.01999998, 0, 1.02999997, 0)
- UICorner_3.CornerRadius = UDim.new(0, 6)
- UICorner_3.Parent = Fade3
- Fade2.Name = "Fade2"
- Fade2.Parent = Loader
- Fade2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade2.BackgroundTransparency = 0.200
- Fade2.BorderSizePixel = 0
- Fade2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade2.Size = UDim2.new(1.01333332, 0, 1.01999998, 0)
- UICorner_4.CornerRadius = UDim.new(0, 6)
- UICorner_4.Parent = Fade2
- Fade4.Name = "Fade4"
- Fade4.Parent = Loader
- Fade4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade4.BackgroundTransparency = 0.400
- Fade4.BorderSizePixel = 0
- Fade4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade4.Size = UDim2.new(1.02666664, 0, 1.03999996, 0)
- UICorner_5.CornerRadius = UDim.new(0, 6)
- UICorner_5.Parent = Fade4
- Fade5.Name = "Fade5"
- Fade5.Parent = Loader
- Fade5.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade5.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade5.BackgroundTransparency = 0.500
- Fade5.BorderSizePixel = 0
- Fade5.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade5.Size = UDim2.new(1.0333333, 0, 1.04999995, 0)
- UICorner_6.CornerRadius = UDim.new(0, 6)
- UICorner_6.Parent = Fade5
- Fade6.Name = "Fade6"
- Fade6.Parent = Loader
- Fade6.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade6.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade6.BackgroundTransparency = 0.600
- Fade6.BorderSizePixel = 0
- Fade6.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade6.Size = UDim2.new(1.03999996, 0, 1.05999994, 0)
- UICorner_7.CornerRadius = UDim.new(0, 6)
- UICorner_7.Parent = Fade6
- MainFr.Name = "MainFr"
- MainFr.Parent = Loader
- MainFr.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFr.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MainFr.BorderSizePixel = 0
- MainFr.ClipsDescendants = true
- MainFr.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFr.Size = UDim2.new(1.00666666, 0, 1.00999999, 0)
- UICorner_8.CornerRadius = UDim.new(0, 6)
- UICorner_8.Parent = MainFr
- Title.Name = "Title"
- Title.Parent = MainFr
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.BorderSizePixel = 0
- Title.AnchorPoint = Vector2.new(0.5,0.5)
- Title.Position = UDim2.new(0.5, 0, 0.5, 0)
- Title.Size = UDim2.new(1, 0, 0.4, 0)
- Title.ZIndex = 3
- Title.Font = Enum.Font.ArialBold
- Title.Text = ""
- Title.TextColor3 = Color3.fromRGB(230, 230, 230)
- Title.TextSize = 26.000
- Title.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
- Title.TextXAlignment = Enum.TextXAlignment.Center
- local Img = Instance.new("ImageLabel")
- Img.Name = "BG"
- Img.BackgroundColor3 = Color3.fromRGB(38,38,38)
- Img.Size = UDim2.new(1,0,3,0)
- Img.Position = UDim2.new(0, 0, -2.175, 0)
- Img.ZIndex = 1
- Img.Parent = MainFr
- Img.BorderSizePixel = 0
- Img.Visible = true
- Img.Image = "rbxassetid://4370337241"
- Img.ImageColor3 = Color3.fromRGB(90,90,90)
- Img.ScaleType = "Tile"
- Img.TileSize = UDim2.new(0.06,0,0.12,0)
- Img.SliceScale = 1
- local oldmouse = game.Players.LocalPlayer.CameraMode
- _G.Cameras="Classic"
- local function whenTweenCompleted(state)
- if state == Enum.TweenStatus.Completed then --if the tween actually completed and not interrupted, but you don't need this if you set override to false like we did
- Img.Position = UDim2.new(0, 0, -2.175, 0)
- Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1.5, false, whenTweenCompleted)
- end
- end
- spawn(function()
- Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1.5, false, whenTweenCompleted)
- end)
- Loader.MainFr.Size = UDim2.new(0,0,0,0)
- Loader.Visible =true
- Loader.Size = UDim2.new(0,0,0,0)
- Loader.ClipsDescendants = true
- Loader.ClipsDescendants = false
- game:GetService("TweenService"):Create(Loader, TweenInfo.new(0.6), {Size = UDim2.new(0, 303, 0, 46)}):Play()
- game:GetService("TweenService"):Create(Loader.MainFr, TweenInfo.new(0.5), {Size = UDim2.new(1,2,1,2)}):Play()
- wait(0.1)
- local text = "Slaxx Hub | ".. _G.GameName
- if string.len(text) > 20 then Title.TextSize = 22 elseif string.len(text) > 30 then Title.TextSize = 18 end
- for i = 1,#text,1 do
- Title.Text = string.sub(text,1,i)
- wait(0.05)
- end
- wait(2.2-0.8)
- game:GetService("TweenService"):Create(Loader, TweenInfo.new(0.4), {Size = UDim2.new(0,303,0,0),Position = UDim2.new(0.5,0,0.55,0)}):Play()
- game:GetService("TweenService"):Create(Loader.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
- wait(0.1)
- Loader.ClipsDescendants = true
- wait(0.5)
- local pressed = false
- -- choose loader
- local Login = Instance.new("Frame")
- local UICorner_16 = Instance.new("UICorner")
- local Fade3_2 = Instance.new("Frame")
- local UICorner_17 = Instance.new("UICorner")
- local Fade2_2 = Instance.new("Frame")
- local UICorner_18 = Instance.new("UICorner")
- local Fade4_2 = Instance.new("Frame")
- local UICorner_19 = Instance.new("UICorner")
- local Fade5_2 = Instance.new("Frame")
- local UICorner_20 = Instance.new("UICorner")
- local Fade6_2 = Instance.new("Frame")
- local UICorner_21 = Instance.new("UICorner")
- local MainFr_2 = Instance.new("Frame")
- local UICorner_22 = Instance.new("UICorner")
- local Title_2 = Instance.new("TextLabel")
- local FreeLoader = Instance.new("TextButton")
- local UICorner_33 = Instance.new("UICorner")
- local PaidLoader = Instance.new("TextButton")
- local UICorner_35 = Instance.new("UICorner")
- Login.Name = "Login"
- Login.Parent = Slaxxic
- Login.AnchorPoint = Vector2.new(0.5, 0.5)
- Login.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Login.BorderSizePixel = 0
- Login.Position = UDim2.new(0.5, 0, 0.4, 0)
- Login.Size = UDim2.new(0, 354, 0, 0)
- Login.Visible = false
- Login.ZIndex = 2
- UICorner_16.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner_16.Parent = Login
- Fade3_2.Name = "Fade3"
- Fade3_2.Parent = Login
- Fade3_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade3_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade3_2.BackgroundTransparency = 0.300
- Fade3_2.BorderSizePixel = 0
- Fade3_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade3_2.Size = UDim2.new(1,4,1,4)
- UICorner_17.CornerRadius = UDim.new(0, 6)
- UICorner_17.Parent = Fade3_2
- Fade2_2.Name = "Fade2"
- Fade2_2.Parent = Login
- Fade2_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade2_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade2_2.BackgroundTransparency = 0.200
- Fade2_2.BorderSizePixel = 0
- Fade2_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade2_2.Size = UDim2.new(1,2,1,2)
- UICorner_18.CornerRadius = UDim.new(0, 6)
- UICorner_18.Parent = Fade2_2
- Fade4_2.Name = "Fade4"
- Fade4_2.Parent = Login
- Fade4_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade4_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade4_2.BackgroundTransparency = 0.400
- Fade4_2.BorderSizePixel = 0
- Fade4_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade4_2.Size = UDim2.new(1,6,1,6)
- UICorner_19.CornerRadius = UDim.new(0, 6)
- UICorner_19.Parent = Fade4_2
- Fade5_2.Name = "Fade5"
- Fade5_2.Parent = Login
- Fade5_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade5_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade5_2.BackgroundTransparency = 0.500
- Fade5_2.BorderSizePixel = 0
- Fade5_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade5_2.Size = UDim2.new(1,8,1,8)
- UICorner_20.CornerRadius = UDim.new(0, 6)
- UICorner_20.Parent = Fade5_2
- Fade6_2.Name = "Fade6"
- Fade6_2.Parent = Login
- Fade6_2.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade6_2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade6_2.BackgroundTransparency = 0.600
- Fade6_2.BorderSizePixel = 0
- Fade6_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade6_2.Size = UDim2.new(1,10,1,10)
- UICorner_21.CornerRadius = UDim.new(0, 6)
- UICorner_21.Parent = Fade6_2
- MainFr_2.Name = "MainFr"
- MainFr_2.Parent = Login
- MainFr_2.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFr_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MainFr_2.BorderSizePixel = 0
- MainFr_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFr_2.Size = UDim2.new(0, 356, 0, 299)
- UICorner_22.CornerRadius = UDim.new(0, 6)
- UICorner_22.Parent = MainFr_2
- Title_2.Name = "Title"
- Title_2.Parent = MainFr_2
- Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_2.BackgroundTransparency = 1.000
- Title_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Title_2.BorderSizePixel = 0
- Title_2.Position = UDim2.new(0, 0, 0, 0)
- Title_2.Size = UDim2.new(1, 0, 0.4, 0)
- Title_2.ZIndex = 3
- Title_2.Font = Enum.Font.ArialBold
- Title_2.Text = "Slaxx Hub Type"
- Title_2.TextColor3 = Color3.fromRGB(230, 230, 230)
- Title_2.TextSize = 26.000
- Title_2.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
- Title_2.TextXAlignment = Enum.TextXAlignment.Center
- FreeLoader.Name = "FreeLoader"
- FreeLoader.Parent = MainFr_2
- FreeLoader.BackgroundColor3 = Color3.fromRGB(0, 255, 127)
- FreeLoader.BorderColor3 = Color3.fromRGB(0, 0, 0)
- FreeLoader.BorderSizePixel = 0
- FreeLoader.Position = UDim2.new(0.213068187, 0, 0.287585586, 0)
- FreeLoader.Size = UDim2.new(0.568181813, 0, 0.198412701, 0)
- FreeLoader.ZIndex = 2
- FreeLoader.AutoButtonColor = false
- FreeLoader.Font = Enum.Font.GothamBold
- FreeLoader.Text = "FREE LOADER"
- FreeLoader.TextColor3 = Color3.fromRGB(0, 0, 0)
- FreeLoader.TextSize = 24.000
- UICorner_33.CornerRadius = UDim.new(0, 6)
- UICorner_33.Parent = FreeLoader
- PaidLoader.Name = "PaidLoader"
- PaidLoader.Parent = MainFr_2
- PaidLoader.BackgroundColor3 = Color3.fromRGB(255, 255, 76)
- PaidLoader.BorderColor3 = Color3.fromRGB(0, 0, 0)
- PaidLoader.BorderSizePixel = 0
- PaidLoader.Position = UDim2.new(0.213068187, 0, 0.632395089, 0)
- PaidLoader.Size = UDim2.new(0.568181813, 0, 0.198412701, 0)
- PaidLoader.ZIndex = 2
- PaidLoader.AutoButtonColor = false
- PaidLoader.Font = Enum.Font.GothamBold
- PaidLoader.Text = "PREMIUM LOADER"
- PaidLoader.TextColor3 = Color3.fromRGB(0, 0, 0)
- PaidLoader.TextSize = 23.000
- UICorner_35.CornerRadius = UDim.new(0, 6)
- UICorner_35.Parent = PaidLoader
- Login.Visible = true
- Login.ClipsDescendants = true
- game:GetService("TweenService"):Create(Login, TweenInfo.new(0.6), {Size = UDim2.new(0,354,0,140),Position = UDim2.new(0.5, 0, 0.5, 0)}):Play()
- game:GetService("TweenService"):Create(MainFr_2, TweenInfo.new(0.5), {Size = UDim2.new(1,2,1,2)}):Play()
- wait(0.4)
- Login.ClipsDescendants = false
- MainFr_2.ClipsDescendants = true
- local Img = Instance.new("ImageLabel")
- Img.Name = "BG"
- Img.BackgroundColor3 = Color3.fromRGB(38,38,38)
- Img.Size = UDim2.new(1,0,3,0)
- Img.Position = UDim2.new(0, 0, -2, 0)
- Img.ZIndex = 1
- Img.Parent = MainFr_2
- Img.BorderSizePixel = 0
- Img.Visible = true
- Img.Image = "rbxassetid://4370337241"
- Img.ImageColor3 = Color3.fromRGB(90,90,90)
- Img.ScaleType = "Tile"
- Img.TileSize = UDim2.new(0.06,0,0.03,0)
- Img.SliceScale = 1
- local function whenTweenCompleted(state)
- if state == Enum.TweenStatus.Completed then --if the tween actually completed and not interrupted, but you don't need this if you set override to false like we did
- Img.Position = UDim2.new(0, 0, -2, 0)
- Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 2.5, false, whenTweenCompleted)
- end
- end
- spawn(function()
- Img:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Linear", 2.5, false, whenTweenCompleted)
- end)
- m=game.Players.LocalPlayer:GetMouse()
- FreeLoader.MouseButton1Down:connect(function()
- CircleClick(FreeLoader, m.X, m.Y)
- FreeLoader.Parent.Parent.ClipsDescendants = true
- game:GetService("TweenService"):Create(FreeLoader.Parent.Parent, TweenInfo.new(0.4), {Size = UDim2.new(0,354,0,0)}):Play()
- game:GetService("TweenService"):Create(FreeLoader.Parent.Parent.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
- wait(0.3)
- win.Version = false
- pressed = true
- _G.Cameras = oldmouse
- end)
- m=game.Players.LocalPlayer:GetMouse()
- PaidLoader.MouseButton1Down:connect(function()
- CircleClick(PaidLoader, m.X, m.Y)
- PaidLoader.Parent.Parent.ClipsDescendants = true
- game:GetService("TweenService"):Create(PaidLoader.Parent.Parent, TweenInfo.new(0.4), {Size = UDim2.new(0,354,0,0)}):Play()
- game:GetService("TweenService"):Create(PaidLoader.Parent.Parent.MainFr, TweenInfo.new(0.3), {Size = UDim2.new(1,2,0,0)}):Play()
- wait(0.3)
- win.Version = true
- pressed = true
- _G.Cameras= oldmouse
- end)
- -- library
- repeat wait() until pressed == true
- local Main = Instance.new("Frame")
- local dragger = {};
- local mouse = game:GetService("Players").LocalPlayer:GetMouse();
- local inputService = game:GetService('UserInputService');
- local heartbeat = game:GetService("RunService").Heartbeat;
- -- // credits to Ririchi / Inori for this cute drag function :)
- function dragger.new(frame)
- local s, event = pcall(function()
- return frame.MouseEnter
- end)
- if s then
- frame.Active = true;
- event:connect(function()
- local input = frame.InputBegan:connect(function(key)
- if key.UserInputType == Enum.UserInputType.MouseButton1 then
- local objectPosition = Vector2.new(mouse.X - Main .AbsolutePosition.X, mouse.Y - Main .AbsolutePosition.Y);
- while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
- pcall(function()
- Main :TweenPosition(UDim2.new(0, mouse.X - objectPosition.X, 0, mouse.Y - objectPosition.Y), 'Out', 'Linear', 0.1, true);
- end)
- end
- end
- end)
- local leave;
- leave = frame.MouseLeave:connect(function()
- input:disconnect();
- leave:disconnect();
- end)
- end)
- end
- end
- local toggled = true
- local pos = UDim2.new(0.4,0,0.35,0)
- Main.Position = UDim2.new(0.5,0,2,0)
- game:GetService('UserInputService').InputBegan:connect(function(key, gpe)
- if (not gpe) then
- if key.KeyCode == Enum.KeyCode.RightShift then
- toggled = not toggled;
- if toggled then
- pos = Main.Position
- Main:TweenPosition(UDim2.new(0.5,0,2,0), (toggled and 'Out' or 'In'), 'Quad', 0.15, true)
- _G.Cameras=old
- wait();
- else
- Main:TweenPosition(pos, (toggled and 'Out' or 'In'), 'Quad', 0.15, true)
- _G.Cameras="Classic"
- end
- end
- end
- end)
- local Fade1_3 = Instance.new("Frame")
- local UICorner_37 = Instance.new("UICorner")
- local Fade3_4 = Instance.new("Frame")
- local UICorner_38 = Instance.new("UICorner")
- local Fade2_4 = Instance.new("Frame")
- local UICorner_39 = Instance.new("UICorner")
- local Fade4_4 = Instance.new("Frame")
- local UICorner_40 = Instance.new("UICorner")
- local Fade5_4 = Instance.new("Frame")
- local UICorner_41 = Instance.new("UICorner")
- local Fade6_4 = Instance.new("Frame")
- local UICorner_42 = Instance.new("UICorner")
- local MainFr_3 = Instance.new("Frame")
- local Top_3 = Instance.new("Frame")
- dragger.new(Top_3)
- local UICorner_43 = Instance.new("UICorner")
- local Title_3 = Instance.new("TextLabel")
- local Fix_3 = Instance.new("Frame")
- local Mini = Instance.new("ImageButton")
- local CatList = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local UIPadding_2 = Instance.new("UIPadding")
- Main.Name = "Main"
- Main.Parent = Slaxxic
- Main.AnchorPoint = Vector2.new(0, 0)
- Main.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.4, 0, 0.35, 0)
- Main.Size = UDim2.new(0, 405, 0, 297)
- Main.ZIndex = 2
- Fade1_3.Name = "Fade1"
- Fade1_3.Parent = Main
- Fade1_3.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade1_3.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade1_3.BackgroundTransparency = 0.100
- Fade1_3.BorderSizePixel = 0
- Fade1_3.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade1_3.Size = UDim2.new(0, 407, 0, 299)
- UICorner_37.CornerRadius = UDim.new(0, 6)
- UICorner_37.Parent = Fade1_3
- Fade3_4.Name = "Fade3"
- Fade3_4.Parent = Main
- Fade3_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade3_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade3_4.BackgroundTransparency = 0.300
- Fade3_4.BorderSizePixel = 0
- Fade3_4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade3_4.Size = UDim2.new(0, 411, 0, 304)
- UICorner_38.CornerRadius = UDim.new(0, 6)
- UICorner_38.Parent = Fade3_4
- Fade2_4.Name = "Fade2"
- Fade2_4.Parent = Main
- Fade2_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade2_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade2_4.BackgroundTransparency = 0.200
- Fade2_4.BorderSizePixel = 0
- Fade2_4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade2_4.Size = UDim2.new(0, 409, 0, 301)
- UICorner_39.CornerRadius = UDim.new(0, 6)
- UICorner_39.Parent = Fade2_4
- Fade4_4.Name = "Fade4"
- Fade4_4.Parent = Main
- Fade4_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade4_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade4_4.BackgroundTransparency = 0.400
- Fade4_4.BorderSizePixel = 0
- Fade4_4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade4_4.Size = UDim2.new(0, 413, 0, 306)
- UICorner_40.CornerRadius = UDim.new(0, 6)
- UICorner_40.Parent = Fade4_4
- Fade5_4.Name = "Fade5"
- Fade5_4.Parent = Main
- Fade5_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade5_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade5_4.BackgroundTransparency = 0.500
- Fade5_4.BorderSizePixel = 0
- Fade5_4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade5_4.Size = UDim2.new(0, 415, 0, 308)
- UICorner_41.CornerRadius = UDim.new(0, 6)
- UICorner_41.Parent = Fade5_4
- Fade6_4.Name = "Fade6"
- Fade6_4.Parent = Main
- Fade6_4.AnchorPoint = Vector2.new(0.5, 0.5)
- Fade6_4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Fade6_4.BackgroundTransparency = 0.600
- Fade6_4.BorderSizePixel = 0
- Fade6_4.Position = UDim2.new(0.5, 0, 0.5, 0)
- Fade6_4.Size = UDim2.new(0, 417, 0, 311)
- UICorner_42.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner_42.Parent = Fade6_4
- MainFr_3.Name = "MainFr"
- MainFr_3.Parent = Main
- MainFr_3.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFr_3.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MainFr_3.BackgroundTransparency = 1.000
- MainFr_3.BorderSizePixel = 0
- MainFr_3.ClipsDescendants = true
- MainFr_3.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFr_3.Size = UDim2.new(0, 407, 0, 299)
- Top_3.Name = "Top"
- Top_3.Parent = MainFr_3
- Top_3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Top_3.BorderSizePixel = 0
- Top_3.Size = UDim2.new(0, 407, 0, 41)
- Top_3.ZIndex = 2
- UICorner_43.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner_43.Parent = Top_3
- Title_3.Name = "Title"
- Title_3.Parent = Top_3
- Title_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_3.BackgroundTransparency = 1.000
- Title_3.BorderSizePixel = 0
- Title_3.Position = UDim2.new(0.0359999612, 0, 0, 0)
- Title_3.Size = UDim2.new(0, 204, 0, 34)
- Title_3.ZIndex = 3
- Title_3.Font = Enum.Font.ArialBold
- Title_3.Text = "Slaxx Hub"
- Title_3.TextColor3 = Color3.fromRGB(230, 230, 230)
- Title_3.TextSize = 26.000
- Title_3.TextStrokeColor3 = Color3.fromRGB(150, 150, 150)
- Title_3.TextXAlignment = Enum.TextXAlignment.Left
- Fix_3.Name = "Fix"
- Fix_3.Parent = Top_3
- Fix_3.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Fix_3.BorderSizePixel = 0
- Fix_3.Position = UDim2.new(0, 0, 0.657142878, 0)
- Fix_3.Size = UDim2.new(0, 407, 0, 12)
- Mini.Name = "Mini"
- Mini.Parent = Top_3
- Mini.Active = false
- Mini.BackgroundTransparency = 1.000
- Mini.Position = UDim2.new(0.912, 0, 0, 0)
- Mini.Rotation = -90.000
- Mini.Selectable = false
- Mini.Size = UDim2.new(0, 34, 0, 34)
- Mini.ZIndex = 3
- Mini.Image = "rbxassetid://4370337241"
- Mini.ImageColor3 = Color3.fromRGB(230, 230, 230)
- Mini.ScaleType = Enum.ScaleType.Fit
- CatList.Name = "CatList"
- CatList.Parent = MainFr_3
- CatList.Active = true
- CatList.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- CatList.BackgroundTransparency = 1.000
- CatList.BorderSizePixel = 0
- CatList.Position = UDim2.new(0, 0, 0.135379657, 0)
- CatList.Size = UDim2.new(0, 140, 0, 299)
- CatList.ZIndex = 5
- CatList.CanvasSize = UDim2.new(0, 0, 1, 0)
- CatList.ScrollBarThickness = 0
- UIListLayout.Parent = CatList
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 7)
- UIPadding_2.Parent = CatList
- UIPadding_2.PaddingTop = UDim.new(0, 4)
- local Categories = Instance.new("Frame")
- Categories.Name = "Categories"
- Categories.Parent = MainFr_3
- Categories.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Categories.BackgroundTransparency = 1.000
- Categories.BorderSizePixel = 0
- Categories.ClipsDescendants = true
- Categories.Position = UDim2.new(0.345771223, 0, 0.138888866, 0)
- Categories.Size = UDim2.new(0, 261, 0, 261)
- Categories.ZIndex = 5
- function win:Category(Name)
- local Category = Instance.new("TextButton")
- local UICorner_44 = Instance.new("UICorner")
- local BGFixS2 = Instance.new("Frame")
- local BGFixS1 = Instance.new("Frame")
- local Category_2 = Instance.new("ScrollingFrame")
- local UIListLayout_2 = Instance.new("UIListLayout")
- local UIPadding_3 = Instance.new("UIPadding")
- Category.Name = Name
- Category.Parent = CatList
- Category.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Category.BorderSizePixel = 0
- Category.ClipsDescendants = true
- Category.Position = UDim2.new(0.0364754722, 0, 0.0142572355, 0)
- Category.Size = UDim2.new(0, 120, 0, 28)
- Category.AutoButtonColor = false
- Category.Font = Enum.Font.ArialBold
- Category.Text = Name
- Category.TextColor3 = Color3.fromRGB(230, 230, 230)
- Category.TextSize = 14.000
- UICorner_44.CornerRadius = UDim.new(0, 6)
- UICorner_44.Parent = Category
- Category.MouseButton1Click:Connect(function()
- CircleClick(Category, m.X, m.Y)
- end)
- BGFixS2.Name = "BGFixS2"
- BGFixS2.Parent = MainFr_3
- BGFixS2.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- BGFixS2.BorderSizePixel = 0
- BGFixS2.Position = UDim2.new(0.300507516, 0, 0.151252627, 0)
- BGFixS2.Size = UDim2.new(0, 19, 0, 254)
- BGFixS2.ZIndex = 4
- BGFixS1.Name = "BGFixS1"
- BGFixS1.Parent = MainFr_3
- BGFixS1.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- BGFixS1.BorderSizePixel = 0
- BGFixS1.Position = UDim2.new(0, 0, 0.138888896, 0)
- BGFixS1.Size = UDim2.new(0, 140, 0, 10)
- BGFixS1.ZIndex = 4
- local UICorner_62 = Instance.new("UICorner")
- UICorner_62.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner_62.Parent = MainFr_3
- local BGFix = Instance.new("Frame")
- local UICorner_63 = Instance.new("UICorner")
- BGFix.Name = "BGFix"
- BGFix.Parent = MainFr_3
- BGFix.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- BGFix.BorderSizePixel = 0
- BGFix.Position = UDim2.new(0, 0, 0.138888896, 0)
- BGFix.Size = UDim2.new(0, 140, 0, 299)
- BGFix.ZIndex = 4
- UICorner_63.CornerRadius = UDim.new(0.0599999987, 0)
- UICorner_63.Parent = BGFix
- Category_2.Name = Name
- Category_2.Visible = false
- Category_2.Parent = Categories
- Category_2.CanvasSize = UDim2.new(0,0,0,0)
- Category_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Category_2.BackgroundTransparency = 1.000
- Category_2.BorderSizePixel = 0
- Category_2.Selectable = false
- Category_2.Size = UDim2.new(1, 0, 1, 0)
- Category_2.ZIndex = 6
- Category_2.ScrollBarThickness = 6
- UIListLayout_2.Parent = Category_2
- UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Right
- UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_2.Padding = UDim.new(0, 10)
- UIPadding_3.Parent = Category_2
- UIPadding_3.PaddingRight = UDim.new(0, 6)
- UIPadding_3.PaddingTop = UDim.new(0, 6)
- local cat = {}
- function cat:Section(nAme)
- local Section = Instance.new("Frame")
- local UICorner_46 = Instance.new("UICorner")
- local UIListLayout_3 = Instance.new("UIListLayout")
- local SectionTitle = Instance.new("TextLabel")
- Section.Name = nAme
- Section.Parent = Category_2
- Section.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
- Section.BorderSizePixel = 0
- Section.Position = UDim2.new(0.0536398478, 0, -0.977011502, 0)
- Section.Selectable = true
- Section.Size = UDim2.new(0, 241, 0,32)
- Section.ZIndex = 4
- UICorner_46.CornerRadius = UDim.new(0, 6)
- UICorner_46.Parent = Section
- UIListLayout_3.Parent = Section
- UIListLayout_3.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_3.Padding = UDim.new(0, 6)
- SectionTitle.Name = "SectionTitle"
- SectionTitle.Parent = Section
- SectionTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SectionTitle.BackgroundTransparency = 1.000
- SectionTitle.Position = UDim2.new(0, 0, 4.51443469e-08, 0)
- SectionTitle.Size = UDim2.new(1, 0, 0, 24)
- SectionTitle.ZIndex = 6
- SectionTitle.Font = Enum.Font.ArialBold
- SectionTitle.Text = " "..nAme
- SectionTitle.TextColor3 = Color3.fromRGB(230, 230, 230)
- SectionTitle.TextSize = 16.000
- SectionTitle.TextXAlignment = Enum.TextXAlignment.Left
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,36+6)
- local sect = {}
- function sect:Label(naMe)
- local Label = Instance.new("TextLabel")
- local UICorner_47 = Instance.new("UICorner")
- Label.Name = naMe
- Label.Text = naMe
- Label.Parent = Section
- Label.Active = true
- Label.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Label.BorderSizePixel = 0
- Label.Position = UDim2.new(-0.627096713, 0, 0.6834324, 0)
- Label.Selectable = true
- Label.Size = UDim2.new(1, -12, 0, 32)
- Label.ZIndex = 5
- Label.Font = Enum.Font.ArialBold
- Label.TextColor3 = Color3.fromRGB(230, 230, 230)
- Label.TextSize = 12.000
- UICorner_47.CornerRadius = UDim.new(0, 6)
- UICorner_47.Parent = Label
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- function sect:Button(naMe,callback)
- callback = callback or function() end
- local Button = Instance.new("TextButton")
- local UICorner_48 = Instance.new("UICorner")
- Button.Name = naMe
- Button.Text = naMe
- Button.Parent = Section
- Button.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0, 0, 0.208999932, 0)
- Button.Size = UDim2.new(1, -12, 0, 32)
- Button.ZIndex = 5
- Button.AutoButtonColor = false
- Button.Font = Enum.Font.ArialBold
- Button.TextColor3 = Color3.fromRGB(230, 230, 230)
- Button.TextSize = 12.000
- UICorner_48.CornerRadius = UDim.new(0, 6)
- UICorner_48.Parent = Button
- Button.MouseButton1Click:Connect(function()
- CircleClick(Button,m.X,m.Y)
- callback()
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- function sect:Toggle(naMe,callback)
- callback = callback or function(tog) end
- local Toggle_2 = Instance.new("TextButton")
- local UICorner_49 = Instance.new("UICorner")
- local BGToggle = Instance.new("Frame")
- local Tog1 = Instance.new("TextLabel")
- local UICorner_50 = Instance.new("UICorner")
- local UICorner_51 = Instance.new("UICorner")
- Toggle_2.Name = naMe
- Toggle_2.Parent = Section
- Toggle_2.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Toggle_2.BorderSizePixel = 0
- Toggle_2.Position = UDim2.new(-0.602200449, 0, 0.689280331, 0)
- Toggle_2.Size = UDim2.new(1, -12, 0, 32)
- Toggle_2.ZIndex = 5
- Toggle_2.AutoButtonColor = false
- Toggle_2.Font = Enum.Font.ArialBold
- Toggle_2.Text = " "..naMe
- Toggle_2.TextColor3 = Color3.fromRGB(230, 230, 230)
- Toggle_2.TextSize = 12.000
- Toggle_2.TextXAlignment = Enum.TextXAlignment.Left
- UICorner_49.CornerRadius = UDim.new(0, 6)
- UICorner_49.Parent = Toggle_2
- BGToggle.Name = "BGToggle"
- BGToggle.Parent = Toggle_2
- BGToggle.AnchorPoint = Vector2.new(0, 0.5)
- BGToggle.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
- BGToggle.BorderSizePixel = 0
- BGToggle.Position = UDim2.new(0.785733581, 0, 0.5, 0)
- BGToggle.Size = UDim2.new(0, 40, 0, 17)
- BGToggle.ZIndex = 7
- Tog1.Name = "Tog1"
- Tog1.Parent = BGToggle
- Tog1.Active = true
- Tog1.AnchorPoint = Vector2.new(0, 0.5)
- Tog1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Tog1.Position = UDim2.new(0, 0, 0.5, 0)
- Tog1.Selectable = true
- Tog1.Size = UDim2.new(0.479999989, 0, 1, -2)
- Tog1.Font = Enum.Font.SourceSans
- Tog1.Text = " "
- Tog1.TextColor3 = Color3.fromRGB(0, 0, 0)
- Tog1.TextSize = 14.000
- UICorner_50.CornerRadius = UDim.new(0, 4)
- UICorner_50.Parent = Tog1
- UICorner_51.CornerRadius = UDim.new(0, 6)
- UICorner_51.Parent = BGToggle
- local togged = false
- Toggle_2.MouseButton1Click:Connect(function()
- if togged == false then
- togged = true
- game.TweenService:Create(Tog1, TweenInfo.new(0.3), {Position = UDim2.new(0.5,0,0.5, 0)}):Play()
- else
- togged = false
- game.TweenService:Create(Tog1, TweenInfo.new(0.3), {Position = UDim2.new(0,0,0.5, 0)}):Play()
- end
- callback(togged)
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- function sect:Box(naMe,callback)
- callback = callback or function(txt) end
- local Box = Instance.new("TextButton")
- local UICorner_52 = Instance.new("UICorner")
- local TextBox = Instance.new("TextBox")
- local UICorner_53 = Instance.new("UICorner")
- Box.Name = naMe
- Box.Parent = Section
- Box.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Box.BorderSizePixel = 0
- Box.Position = UDim2.new(-0.577304184, 0, 0.668153584, 0)
- Box.Size = UDim2.new(1, -12, 0, 32)
- Box.ZIndex = 5
- Box.AutoButtonColor = false
- Box.Font = Enum.Font.ArialBold
- Box.Text = " "..naMe
- Box.TextColor3 = Color3.fromRGB(230, 230, 230)
- Box.TextSize = 12.000
- Box.TextXAlignment = Enum.TextXAlignment.Left
- UICorner_52.CornerRadius = UDim.new(0, 6)
- UICorner_52.Parent = Box
- TextBox.Parent = Box
- TextBox.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
- TextBox.Position = UDim2.new(0.711999893, 0, 0.218999863, 0)
- TextBox.Size = UDim2.new(0, 56, 0, 19)
- TextBox.Font = Enum.Font.ArialBold
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextSize = 12.000
- TextBox.TextWrapped = true
- UICorner_53.CornerRadius = UDim.new(0, 4)
- UICorner_53.Parent = TextBox
- TextBox.Focused:Connect(function()
- game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Size = UDim2.new(0, 98,0, 19)}):Play()
- game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Position = UDim2.new(0.529, 0,0.219,0)}):Play()
- end)
- TextBox.FocusLost:Connect(function()
- game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Size = UDim2.new(0, 56,0, 19)}):Play()
- game.TweenService:Create(TextBox, TweenInfo.new(0.3), {Position = UDim2.new(0.712, 0,0.219,0)}):Play()
- callback(TextBox.Text)
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- function sect:Bind(naMe,keyboardOnly,callback)
- callback = callback or function(e)end
- keyboardOnly = keyboardOnly or true
- local Keybind = Instance.new("TextButton")
- local UICorner_54 = Instance.new("UICorner")
- local Bind = Instance.new("TextLabel")
- local UICorner_55 = Instance.new("UICorner")
- Keybind.Name = naMe
- Keybind.Parent = Section
- Keybind.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Keybind.BorderSizePixel = 0
- Keybind.Position = UDim2.new(-0.577304184, 0, 0.668153584, 0)
- Keybind.Size = UDim2.new(1, -12, 0, 32)
- Keybind.ZIndex = 5
- Keybind.AutoButtonColor = false
- Keybind.Font = Enum.Font.ArialBold
- Keybind.Text = " "..naMe
- Keybind.TextColor3 = Color3.fromRGB(230, 230, 230)
- Keybind.TextSize = 12.000
- Keybind.TextXAlignment = Enum.TextXAlignment.Left
- UICorner_54.CornerRadius = UDim.new(0, 6)
- UICorner_54.Parent = Keybind
- Bind.Name = "Bind"
- Bind.Parent = Keybind
- Bind.Active = true
- Bind.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
- Bind.Position = UDim2.new(0.711790383, 0, 0.21875, 0)
- Bind.Selectable = true
- Bind.Size = UDim2.new(0, 56, 0, 19)
- Bind.Font = Enum.Font.ArialBold
- Bind.Text = ""
- Bind.TextColor3 = Color3.fromRGB(255, 255, 255)
- Bind.TextSize = 12.000
- Bind.TextWrapped = true
- UICorner_55.CornerRadius = UDim.new(0, 4)
- UICorner_55.Parent = Bind
- local banned = {
- Return = true;
- Space = true;
- Tab = true;
- Unknown = true;
- RightShift = true;
- A = true;
- S = true;
- D = true;
- W = true;
- }
- local shortNames = {
- RightControl = 'RightCtrl';
- LeftControl = 'LeftCtrl';
- LeftShift = 'LShift';
- MouseButton1 = "Mouse1";
- MouseButton2 = "Mouse2";
- }
- local allowed = {
- MouseButton1 = true;
- MouseButton2 = true;
- }
- local Binding =false
- local key = ""
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local UserInputService = game:GetService('UserInputService')
- Keybind.MouseButton1Click:Connect(function()
- game:GetService("TweenService"):Create(Bind,TweenInfo.new(0.3),{TextColor3 = Color3.fromRGB(229, 196, 30)}):Play()
- Binding = true
- Bind.Text = "..."
- local a, b = game:GetService('UserInputService').InputBegan:wait();
- local name = tostring(a.KeyCode.Name);
- local typeName = tostring(a.UserInputType.Name);
- if (a.UserInputType ~= Enum.UserInputType.Keyboard and (allowed[a.UserInputType.Name]) and (not keyboardOnly)) or (a.KeyCode and (not banned[a.KeyCode.Name])) then
- local name = (a.UserInputType ~= Enum.UserInputType.Keyboard and a.UserInputType.Name or a.KeyCode.Name);
- Bind.Text = shortNames[name] or name:lower();
- wait(0.1)
- key = name
- callback(key)
- Binding = false;
- game:GetService("TweenService"):Create(Bind,TweenInfo.new(0.3),{TextColor3 = Color3.fromRGB(255,255,255)}):Play()
- end
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- function sect:Slider(naMe,min,default,max,callback)
- callback = callback or function(b) end
- local Slider = Instance.new("TextButton")
- local UICorner_56 = Instance.new("UICorner")
- local Title_4 = Instance.new("TextLabel")
- local Number = Instance.new("TextLabel")
- local BG = Instance.new("TextButton")
- local UICorner_57 = Instance.new("UICorner")
- local Inner = Instance.new("TextButton")
- local UICorner_58 = Instance.new("UICorner")
- Slider.Name = naMe
- Slider.Parent = Section
- Slider.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Slider.BorderSizePixel = 0
- Slider.Position = UDim2.new(0.0248962659, 0, 0.836051643, 0)
- Slider.Size = UDim2.new(1, -12, 0, 53)
- Slider.ZIndex = 5
- Slider.AutoButtonColor = false
- Slider.Font = Enum.Font.ArialBold
- Slider.Text = ""
- Slider.TextColor3 = Color3.fromRGB(230, 230, 230)
- Slider.TextSize = 12.000
- Slider.TextXAlignment = Enum.TextXAlignment.Left
- Slider.TextYAlignment = Enum.TextYAlignment.Top
- UICorner_56.CornerRadius = UDim.new(0, 6)
- UICorner_56.Parent = Slider
- Title_4.Name = "Title"
- Title_4.Parent = Slider
- Title_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_4.BackgroundTransparency = 1.000
- Title_4.BorderSizePixel = 0
- Title_4.Size = UDim2.new(0, 229, 0, 20)
- Title_4.Font = Enum.Font.ArialBold
- Title_4.Text = " "..naMe
- Title_4.TextColor3 = Color3.fromRGB(230, 230, 230)
- Title_4.TextSize = 12.000
- Title_4.TextXAlignment = Enum.TextXAlignment.Left
- Number.Name = "Number"
- Number.Parent = Slider
- Number.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Number.BackgroundTransparency = 1.000
- Number.Position = UDim2.new(0.869576395, 0, -3.0932037e-07, 0)
- Number.Size = UDim2.new(0, 29, 0, 20)
- Number.Font = Enum.Font.ArialBold
- Number.Text = default
- Number.TextColor3 = Color3.fromRGB(255, 255, 255)
- Number.TextSize = 14.000
- BG.Name = "BG"
- BG.Parent = Slider
- BG.Active = false
- BG.BackgroundColor3 = Color3.fromRGB(21, 19, 21)
- BG.ClipsDescendants = true
- BG.Position = UDim2.new(0.0262008738, 0, 0.52706182, 0)
- BG.Selectable = false
- BG.Size = UDim2.new(0, 213, 0, 10)
- BG.ZIndex = 6
- BG.AutoButtonColor = false
- BG.Text = ""
- UICorner_57.CornerRadius = UDim.new(0, 4)
- UICorner_57.Parent = BG
- Inner.Name = "Inner"
- Inner.Parent = BG
- Inner.Active = false
- Inner.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Inner.Selectable = false
- Inner.Size = UDim2.new(0, 0, 1, 0)
- Inner.ZIndex = 7
- Inner.AutoButtonColor = false
- Inner.Text = ""
- UICorner_58.CornerRadius = UDim.new(0, 4)
- UICorner_58.Parent = Inner
- local mouse = game.Players.LocalPlayer:GetMouse()
- local uis = game:GetService("UserInputService")
- local Value;
- local down = false
- if default ~= min then
- game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(default/max, 0, 0, 10)}):Play()
- end
- local function Activate()
- spawn(function()
- down = true
- Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
- pcall(function()
- callback(Value)
- end)
- Number.Text = Value
- game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
- while game:GetService("RunService").RenderStepped:wait() and down do
- Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
- Number.Text = Value
- pcall(function()
- callback(Value)
- end)
- game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
- end
- end)
- end
- Inner.MouseButton1Down:Connect(function()
- Activate()
- end)
- BG.MouseButton1Down:Connect(function()
- Activate()
- end)
- uis.InputEnded:connect(function(key)
- if key.UserInputType == Enum.UserInputType.MouseButton1 and down then
- down = false
- Value = math.floor((((tonumber(max) - tonumber(min)) / 213) * Inner.AbsoluteSize.X) +tonumber(min)) or 0
- Number.Text = Value
- pcall(function()
- callback(Value)
- end)
- game:GetService("TweenService"):Create(Inner, TweenInfo.new(0.05), {Size = UDim2.new(0, math.clamp(mouse.X - Inner.AbsolutePosition.X, 0, 213), 0, 10)}):Play()
- end
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,53+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,53+6)
- end
- function sect:Dropdown(naMe,opts,callback)
- opts=opts or {"No","options","Selected!","kThxSlaxxF"}
- callback = callback or function(c) end
- local Dropdown = Instance.new("TextButton")
- local UICorner_59 = Instance.new("UICorner")
- local Mini_2 = Instance.new("ImageButton")
- local Title_4 = Instance.new("TextLabel")
- local Drop = Instance.new("Frame")
- local UICorner_60 = Instance.new("UICorner")
- local Scroll = Instance.new("ScrollingFrame")
- local UIListLayout_4 = Instance.new("UIListLayout")
- local UIPadding_4 = Instance.new("UIPadding")
- Dropdown.Name = naMe
- Dropdown.Parent = Section
- Dropdown.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Dropdown.BorderSizePixel = 0
- Dropdown.Position = UDim2.new(-0.602200449, 0, 0.689280331, 0)
- Dropdown.Size = UDim2.new(1, -12, 0, 32)
- Dropdown.ZIndex = 5
- Dropdown.AutoButtonColor = false
- Dropdown.Font = Enum.Font.ArialBold
- Dropdown.Text = " "
- Dropdown.TextColor3 = Color3.fromRGB(230, 230, 230)
- Dropdown.TextSize = 12.000
- Dropdown.TextXAlignment = Enum.TextXAlignment.Left
- UICorner_59.CornerRadius = UDim.new(0, 6)
- UICorner_59.Parent = Dropdown
- Mini_2.Name = "Mini"
- Mini_2.Parent = Dropdown
- Mini_2.Active = false
- Mini_2.BackgroundTransparency = 1.000
- Mini_2.Position = UDim2.new(0.856475949, 0, 0, 0)
- Mini_2.Selectable = false
- Mini_2.Size = UDim2.new(0, 32, 0, 32)
- Mini_2.ZIndex = 6
- Mini_2.Image = "rbxassetid://4370337241"
- Mini_2.ImageColor3 = Color3.fromRGB(230, 230, 230)
- Mini_2.ScaleType = Enum.ScaleType.Fit
- Title_4.Name = "Title"
- Title_4.Parent = Dropdown
- Title_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title_4.BackgroundTransparency = 1.000
- Title_4.BorderSizePixel = 0
- Title_4.Size = UDim2.new(0, 229, 0, 20)
- Title_4.Font = Enum.Font.ArialBold
- Title_4.Text = " "..naMe
- Title_4.TextColor3 = Color3.fromRGB(230, 230, 230)
- Title_4.TextSize = 12.000
- Title_4.TextXAlignment = Enum.TextXAlignment.Left
- Drop.Name = "Drop"
- Drop.Parent = Dropdown
- Drop.BackgroundColor3 = Color3.fromRGB(15, 14, 15)
- Drop.BorderSizePixel = 0
- Drop.ClipsDescendants = true
- Drop.Position = UDim2.new(0, 0, 0.2252706182, 0)
- Drop.Size = UDim2.new(1, 0, 0, 0)
- Drop.ZIndex = 20
- UICorner_60.CornerRadius = UDim.new(0, 6)
- UICorner_60.Parent = Drop
- Scroll.Name = "Scroll"
- Scroll.Parent = Drop
- Scroll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Scroll.BackgroundTransparency = 1.000
- Scroll.BorderSizePixel = 0
- Scroll.Selectable = false
- Scroll.Size = UDim2.new(1, 0, 1, 0)
- Scroll.ZIndex = 21
- Scroll.CanvasSize = UDim2.new(0, 0, 0, 0)
- Scroll.ScrollBarThickness = 6
- UIListLayout_4.Parent = Scroll
- UIListLayout_4.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout_4.Padding = UDim.new(0, 2)
- UIPadding_4.Parent = Scroll
- UIPadding_4.PaddingTop = UDim.new(0, 2)
- local ena = false
- local def = Title_4.Text
- local old = Title_4.Text
- local br = Category_2.CanvasSize
- local cr = Dropdown.Size
- local dr = Section.Size
- local function getcurrentsize()
- dr = Section.Size
- br = Category_2.CanvasSize
- end
- for i,v in pairs(opts) do
- local Button_2 = Instance.new("TextButton")
- local UICorner_61 = Instance.new("UICorner")
- Button_2.Name = "Button"
- Button_2.Parent = Scroll
- Button_2.BackgroundColor3 = Color3.fromRGB(25, 24, 25)
- Button_2.BorderSizePixel = 0
- Button_2.Position = UDim2.new(0, 0, 0.208999932, 0)
- Button_2.Size = UDim2.new(1, -12, 0, 32)
- Button_2.ZIndex = 5
- Button_2.AutoButtonColor = false
- Button_2.Font = Enum.Font.ArialBold
- Button_2.Text = v
- Button_2.TextColor3 = Color3.fromRGB(230, 230, 230)
- Button_2.TextSize = 12.000
- UICorner_61.CornerRadius = UDim.new(0, 6)
- UICorner_61.Parent = Button_2
- Scroll.CanvasSize = Scroll.CanvasSize + UDim2.new(0,0,0,32+2)
- end
- Dropdown.MouseButton1Click:Connect(function()
- if ena == false then
- getcurrentsize()
- ena = true
- old = Dropdown.Text
- game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = -90}):Play()
- game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 106)}):Play()
- game.TweenService:Create(Dropdown, TweenInfo.new(0.3), {Size = UDim2.new(1, -12, 0, 106+32)}):Play()
- Title_4.Text = " ..."
- Section.Size = dr + UDim2.new(0,0,0,111)
- Category_2.CanvasSize = br+ UDim2.new(0,0,0,111)
- for i,v in pairs(Scroll:GetChildren()) do
- if v:IsA("TextButton") then
- v.MouseButton1Click:Connect(function()
- ena = false
- game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = 0}):Play()
- game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 0)}):Play()
- callback(v.Text)
- Title_4.Text = def..": "..v.Text
- local cooldown = false
- CircleClick(v,m.X,m.Y)
- Section.Size = dr
- Category_2.CanvasSize = br
- Dropdown.Size = cr
- end)
- end
- end
- else
- ena = false
- game.TweenService:Create(Mini, TweenInfo.new(0.3), {Rotation = 0}):Play()
- game.TweenService:Create(Drop, TweenInfo.new(0.3), {Size = UDim2.new(1, 0,0, 0)}):Play()
- game.TweenService:Create(Dropdown, TweenInfo.new(0.3), {Size = UDim2.new(1, -12, 0, 32)}):Play()
- Section.Size = dr
- Category_2.CanvasSize = br
- Title_4.Text = old
- end
- end)
- Category_2.CanvasSize = Category_2.CanvasSize + UDim2.new(0,0,0,32+6)
- Section.Size = Section.Size + UDim2.new(0,0,0,32+6)
- end
- return sect;
- end
- return cat;
- end
- function win:Sort()
- for i,v in pairs(CatList:GetChildren()) do
- if v:IsA("TextButton") then
- v.MouseButton1Click:Connect(function()
- for i1,v1 in pairs(Categories:GetChildren()) do
- v1.Visible = false
- if v1.Name == v.Text then
- v1.Visible = true
- end
- end
- for i2,v2 in pairs(CatList:GetChildren()) do
- if v2:IsA("TextButton") then
- game:GetService("TweenService"):Create(v2, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}):Play()
- end
- end
- game:GetService("TweenService"):Create(v, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(90,90,90)}):Play()
- end)
- end
- end
- end
- function win:SetTop(thing)
- for i1,v1 in pairs(Categories:GetChildren()) do
- if v1.Name == thing then
- for i2,v2 in pairs(CatList:GetChildren()) do
- if v2:IsA("TextButton") then
- game:GetService("TweenService"):Create(v2, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}):Play()
- end
- end
- game:GetService("TweenService"):Create(CatList[thing], TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(90,90,90)}):Play()
- v1.Visible = true
- end
- end
- end
- return win;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement