Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local char = player.Character or player.CharacterAdded:wait()
- local new = Instance.new
- local mouse = player:GetMouse()
- local userInput = game:GetService("UserInputService")
- local run = game:GetService("RunService")
- local tween = game:GetService("TweenService")
- local ud2 = UDim2.new
- local v2 = Vector2.new
- local v3 = Vector3.new
- local cf = CFrame.new
- local cfa = CFrame.Angles
- local sin = math.sin
- local cos = math.cos
- local huge = math.huge
- local SkrubHub = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Tabs = Instance.new("Frame")
- local MainTitle = Instance.new("TextLabel")
- local Executor = Instance.new("Frame")
- local ExeTitle = Instance.new("TextLabel")
- local ExeCredit = Instance.new("TextLabel")
- local Code = Instance.new("TextBox")
- local Decor = Instance.new("Frame")
- local Clr = Instance.new("TextLabel")
- local Exe = Instance.new("TextLabel")
- local Scripts = Instance.new("Frame")
- local ScriptsTitle = Instance.new("TextLabel")
- local ScriptsButtons = Instance.new("ScrollingFrame")
- local ScriptsCredit = Instance.new("TextLabel")
- local Guis = Instance.new("Frame")
- local GuisTitle = Instance.new("TextLabel")
- local Buttons = Instance.new("ScrollingFrame")
- local GuisCredit = Instance.new("TextLabel")
- local Home = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Info = Instance.new("TextLabel")
- local Credit = Instance.new("TextLabel")
- local UpdateTitle = Instance.new("TextLabel")
- local Updates = Instance.new("TextLabel")
- local QuickCMD = Instance.new("Frame")
- local CmdTitle = Instance.new("TextLabel")
- local CmdCredit = Instance.new("TextLabel")
- local WalkInput = Instance.new("TextBox")
- local JumpInput = Instance.new("TextBox")
- local God = Instance.new("TextLabel")
- local Ungod = Instance.new("TextLabel")
- local NameInput = Instance.new("TextBox")
- local Kill = Instance.new("TextLabel")
- local Kick = Instance.new("TextLabel")
- local FF = Instance.new("TextLabel")
- local unFF = Instance.new("TextLabel")
- local data = {
- Menu = Home;
- Open = true;
- MainTitleX = MainTitle.Size;
- MainX = Main.Size;
- TabsX = Tabs.Size;
- Player = nil;
- WalkSpeed = 16;
- JumpPower = 50;
- }
- local ExeButtons = {
- [Exe] = {Click = function()
- local s,e = pcall(function()
- loadstring(Code.Text)()
- end)
- if e then
- warn(e)
- end
- end,Btn = Exe},
- [Clr] = {Click = function()
- Code.Text = ""
- end,Btn = Exe}
- }
- local CmdButtons = {
- ["FF"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- Instance.new("ForceField").Parent = v.Character
- end
- else
- Instance.new("ForceField").Parent = data.Player.Character
- end
- end,Btn = FF};
- ["God"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v.Character.Humanoid.MaxHealth = huge
- v.Character.Humanoid.Health = huge
- end
- else
- data.Player.Character.Humanoid.MaxHealth = huge
- data.Player.Character.Humanoid.Health = huge
- end
- end,Btn = God};
- ["Kill"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v.Character:BreakJoints()
- end
- else
- data.Player.Character:BreakJoints()
- end
- end,Btn = Kill};
- ["Kick"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v:Kick()
- end
- else
- data.Player:Kick()
- end
- end,Btn = Kick};
- ["Ungod"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v.Character.Humanoid.MaxHealth = 100
- v.Character.Humanoid.Health = 100
- end
- else
- data.Player.Character.Humanoid.MaxHealth = 100
- data.Player.Character.Humanoid.Health = 100
- end
- end,Btn = Ungod};
- ["unFF"] = {Click = function()
- if not data.Player then return end
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- if v.Character:FindFirstChild("ForceField") then
- v.Character.ForceField:Destroy()
- end
- end
- else
- if data.Player.Character:FindFirstChild("ForceField") then
- data.Player.Character.ForceField:Destroy()
- end
- end
- end,Btn = unFF};
- }
- local tabs = {
- [1] = {Name = "Home",Redirect = Home,Click = function()
- print("Home")
- end};
- [2] = {Name = "Guis",Redirect = Guis,Click = function()
- print("Guis")
- end};
- [3] = {Name = "Scripts",Redirect = Scripts,Click = function()
- print("Scripts")
- end};
- [4] = {Name = "Quick Commands",Redirect = QuickCMD,Click = function()
- print("Quick Cmds")
- end};
- [5] = {Name = "Executor",Redirect = Executor,Click = function()
- print("Executor")
- end};
- }
- local guis = {
- {"Apoc Best Gui" ,291556436,2};
- {"c00lgui", "Rz2EFsLU", 1},
- {"Topkek 4.0", "d0CJRrcg", 1},
- {"Ro-Xploit 6.0", 364364477, 2},
- {"Dex 3.0", 418957341, 2},
- {"YourMom GUI", "289110135", 2},
- {"Pepe GUI", "277881926", 2},
- {"Brack Hub", "PT9Gf7d5", 1},
- {"Vesprin FE GUI", "1231351616", 2},
- {"Music GUI", "U352cdsv", 1},
- {"Clown Van", "a5UZuuiT", 1},
- {"Hell Elevator GUI", "8NYWpf2T", 1},
- {"Chams / Aimlock", "Yi7fzELj", 1},
- }
- local scripts = {
- {"AR-15","6VQt3wxS",1};
- {"Infinite Yield","MjBzRjmT",1};
- {"Rail Gun Titan", "0wFiFdwM", 1};
- {"Nazi Flag", "ZCZNxFBD", 1};
- {"Police Titan", "UCmufLU8", 1};
- {"Galaxy Titan", "nKNdCrKj", 1};
- {"Flash", "gGSVVq1H", 1};
- {"Dick Gun", "UR9FBjcj", 1};
- {"9/11", "3UmV26hG", 1};
- {"Bong", "8Kb08E9s", 1};
- {"Crazy Nuke", "6kbRdDk6", 1};
- {"Sticky Bombs", "2A4U8xdA", 1};
- {"Russian Dance", "RADQ2vH8", 1};
- {"Sun God", "0uJhLJ5m", 1};
- {"Rolling Light Ball", "S4Hj3MPd", 1};
- {"Red Death Scythe", "KJ5nqeVF", 1};
- {"Crystal Pistols", "GDLZ4VAq", 1};
- {"Epic Sword", "DZVV9AGG", 1};
- {"Circle Visualizer", "diJiteen", 1};
- {"Hex Blade", "fA0bBELV", 1};
- {"Bulldog", "nPPLxSA3", 1};
- {"FS-627-SENDER", "R3m4gfuP", 1};
- }
- local tabButtons = {}
- local scriptButtons = {}
- local guiButtons = {}
- local commandButtons = {}
- local exeButtons = {}
- function initGui()
- SkrubHub.Name = "SkrubHub"
- SkrubHub.Parent = player.PlayerGui
- Main.Name = "Main"
- Main.Parent = SkrubHub
- Main.AnchorPoint = Vector2.new(0.5, 0.5)
- Main.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Main.BorderSizePixel = 0
- Main.Position = ud2(0, 503, 0, 409)
- Main.Size = ud2(0, 450, 0, 500)
- Tabs.Name = "Tabs"
- Tabs.Parent = Main
- Tabs.AnchorPoint = Vector2.new(0.5, 0.5)
- Tabs.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Tabs.BorderSizePixel = 0
- Tabs.Position = ud2(0, 580, 0, 250)
- Tabs.Size = ud2(0, 241, 0, 500)
- Tabs.ClipsDescendants = true
- MainTitle.Name = "MainTitle"
- MainTitle.Parent = Main
- MainTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- MainTitle.BorderSizePixel = 0
- MainTitle.Position = ud2(0, 0, 0, -60)
- MainTitle.Size = ud2(0, 701, 0, 50)
- MainTitle.Font = Enum.Font.Cartoon
- MainTitle.Text = "SkrubHub v1"
- MainTitle.TextColor3 = Color3.new(1, 1, 1)
- MainTitle.TextScaled = false
- MainTitle.TextSize = 50
- MainTitle.TextWrapped = true
- MainTitle.ClipsDescendants = true
- Executor.Name = "Executor"
- Executor.Parent = Main
- Executor.BackgroundColor3 = Color3.new(1, 1, 1)
- Executor.BackgroundTransparency = 1
- Executor.ClipsDescendants = true
- Executor.Size = ud2(1, 0, 1, 0)
- Executor.Visible = false
- ExeTitle.Name = "ExeTitle"
- ExeTitle.Parent = Executor
- ExeTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- ExeTitle.BorderSizePixel = 0
- ExeTitle.Selectable = true
- ExeTitle.Size = ud2(0, 450, 0, 45)
- ExeTitle.Font = Enum.Font.Cartoon
- ExeTitle.Text = "Executor"
- ExeTitle.TextColor3 = Color3.new(1, 1, 1)
- ExeTitle.TextScaled = true
- ExeTitle.TextSize = 14
- ExeTitle.TextWrapped = true
- ExeCredit.Name = "ExeCredit"
- ExeCredit.Parent = Executor
- ExeCredit.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- ExeCredit.BorderSizePixel = 0
- ExeCredit.Position = ud2(0, 0, 0, 472)
- ExeCredit.Selectable = true
- ExeCredit.Size = ud2(0, 450, 0, 28)
- ExeCredit.Font = Enum.Font.Cartoon
- ExeCredit.Text = "Gui made by skrubkid#1330"
- ExeCredit.TextColor3 = Color3.new(1, 1, 1)
- ExeCredit.TextSize = 25
- ExeCredit.TextWrapped = true
- Code.Name = "Code"
- Code.Parent = Executor
- Code.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
- Code.BackgroundTransparency = 1
- Code.BorderSizePixel = 0
- Code.Position = ud2(0, 43, 0, 67)
- Code.Size = ud2(0, 386, 0, 315)
- Code.ZIndex = 2
- Code.Font = Enum.Font.Cartoon
- Code.MultiLine = true
- Code.PlaceholderColor3 = Color3.new(1, 1, 1)
- Code.PlaceholderText = "Input Script Here..."
- Code.Text = ""
- Code.TextColor3 = Color3.new(1, 1, 1)
- Code.TextSize = 14
- Code.TextXAlignment = Enum.TextXAlignment.Left
- Code.TextYAlignment = Enum.TextYAlignment.Top
- Code.ClearTextOnFocus = false
- Decor.Name = "Decor"
- Decor.Parent = Executor
- Decor.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
- Decor.BorderSizePixel = 0
- Decor.Position = ud2(0, 28, 0, 57)
- Decor.Size = ud2(0, 394, 0, 321)
- Clr.Name = "Clr"
- Clr.Parent = Executor
- Clr.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
- Clr.BorderSizePixel = 0
- Clr.Position = ud2(0, 287, 0, 391)
- Clr.Selectable = true
- Clr.Size = ud2(0, 135, 0, 44)
- Clr.Font = Enum.Font.Cartoon
- Clr.Text = "Clear"
- Clr.TextColor3 = Color3.new(1, 1, 1)
- Clr.TextSize = 40
- Clr.TextWrapped = true
- Exe.Name = "Exe"
- Exe.Parent = Executor
- Exe.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
- Exe.BorderSizePixel = 0
- Exe.Position = ud2(0, 28, 0, 391)
- Exe.Selectable = true
- Exe.Size = ud2(0, 135, 0, 44)
- Exe.Font = Enum.Font.Cartoon
- Exe.Text = "Execute"
- Exe.TextColor3 = Color3.new(1, 1, 1)
- Exe.TextSize = 40
- Exe.TextWrapped = true
- Scripts.Name = "Scripts"
- Scripts.Parent = Main
- Scripts.BackgroundColor3 = Color3.new(1, 1, 1)
- Scripts.BackgroundTransparency = 1
- Scripts.ClipsDescendants = true
- Scripts.Size = ud2(1, 0, 1, 0)
- Scripts.Visible = false
- ScriptsTitle.Name = "ScriptsTitle"
- ScriptsTitle.Parent = Scripts
- ScriptsTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- ScriptsTitle.BorderSizePixel = 0
- ScriptsTitle.Selectable = true
- ScriptsTitle.Size = ud2(0, 450, 0, 41)
- ScriptsTitle.Font = Enum.Font.Cartoon
- ScriptsTitle.Text = "Scripts"
- ScriptsTitle.TextColor3 = Color3.new(1, 1, 1)
- ScriptsTitle.TextScaled = true
- ScriptsTitle.TextSize = 14
- ScriptsTitle.TextWrapped = true
- ScriptsButtons.Name = "ScriptsButtons"
- ScriptsButtons.Parent = Scripts
- ScriptsButtons.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- ScriptsButtons.BorderSizePixel = 0
- ScriptsButtons.Position = ud2(0, 59, 0, 69)
- ScriptsButtons.Size = ud2(0, 332, 0, 362)
- ScriptsButtons.CanvasSize = ud2(0, 0, 0, 1000)
- ScriptsCredit.Name = "ScriptsCredit"
- ScriptsCredit.Parent = Scripts
- ScriptsCredit.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- ScriptsCredit.BorderSizePixel = 0
- ScriptsCredit.Position = ud2(0, 0, 0, 472)
- ScriptsCredit.Selectable = true
- ScriptsCredit.Size = ud2(0, 450, 0, 28)
- ScriptsCredit.Font = Enum.Font.Cartoon
- ScriptsCredit.Text = "Gui made by skrubkid#1330"
- ScriptsCredit.TextColor3 = Color3.new(1, 1, 1)
- ScriptsCredit.TextSize = 25
- ScriptsCredit.TextWrapped = true
- Guis.Name = "Guis"
- Guis.Parent = Main
- Guis.BackgroundColor3 = Color3.new(1, 1, 1)
- Guis.BackgroundTransparency = 1
- Guis.ClipsDescendants = true
- Guis.Size = ud2(1, 0, 1, 0)
- Guis.Visible = false
- GuisTitle.Name = "GuisTitle"
- GuisTitle.Parent = Guis
- GuisTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- GuisTitle.BorderSizePixel = 0
- GuisTitle.Selectable = true
- GuisTitle.Size = ud2(0, 450, 0, 41)
- GuisTitle.Font = Enum.Font.Cartoon
- GuisTitle.Text = "Guis"
- GuisTitle.TextColor3 = Color3.new(1, 1, 1)
- GuisTitle.TextScaled = true
- GuisTitle.TextSize = 14
- GuisTitle.TextWrapped = true
- Buttons.Name = "Buttons"
- Buttons.Parent = Guis
- Buttons.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Buttons.BorderSizePixel = 0
- Buttons.Position = ud2(0, 59, 0, 69)
- Buttons.Size = ud2(0, 332, 0, 362)
- Buttons.CanvasSize = ud2(0, 0, 0, 1000)
- GuisCredit.Name = "GuisCredit"
- GuisCredit.Parent = Guis
- GuisCredit.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- GuisCredit.BorderSizePixel = 0
- GuisCredit.Position = ud2(0, 0, 0, 472)
- GuisCredit.Selectable = true
- GuisCredit.Size = ud2(0, 450, 0, 28)
- GuisCredit.Font = Enum.Font.Cartoon
- GuisCredit.Text = "Gui made by skrubkid#1330"
- GuisCredit.TextColor3 = Color3.new(1, 1, 1)
- GuisCredit.TextSize = 25
- GuisCredit.TextWrapped = true
- Home.Name = "Home"
- Home.Parent = Main
- Home.BackgroundColor3 = Color3.new(1, 1, 1)
- Home.BackgroundTransparency = 1
- Home.ClipsDescendants = true
- Home.Size = ud2(1, 0, 1, 0)
- Home.Visible = false
- Title.Name = "Title"
- Title.Parent = Home
- Title.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Title.BorderSizePixel = 0
- Title.Selectable = true
- Title.Size = ud2(0, 450, 0, 41)
- Title.Font = Enum.Font.Cartoon
- Title.Text = "Home"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Info.Name = "Info"
- Info.Parent = Home
- Info.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Info.BorderSizePixel = 0
- Info.Position = ud2(0, 0, 0.145999998, 0)
- Info.Selectable = true
- Info.Size = ud2(1, 0, 0.211999997, 0)
- Info.Font = Enum.Font.Cartoon
- Info.Text = "This is SkrubHub. Idk why I made this, guess I was bored. The community is needed to submit scripts for me to put into this gui. DM me @ skrubkid#1330"
- Info.TextColor3 = Color3.new(1, 1, 1)
- Info.TextSize = 25
- Info.TextWrapped = true
- Info.TextYAlignment = Enum.TextYAlignment.Top
- Credit.Name = "Credit"
- Credit.Parent = Home
- Credit.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Credit.BorderSizePixel = 0
- Credit.Position = ud2(0, 0, 0, 472)
- Credit.Selectable = true
- Credit.Size = ud2(0, 450, 0, 28)
- Credit.Font = Enum.Font.Cartoon
- Credit.Text = "Gui made by skrubkid#1330, Press \"=\" to toggle the gui"
- Credit.TextColor3 = Color3.new(1, 1, 1)
- Credit.TextScaled = true
- Credit.TextSize = 25
- Credit.TextWrapped = true
- UpdateTitle.Name = "UpdateTitle"
- UpdateTitle.Parent = Home
- UpdateTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- UpdateTitle.BorderSizePixel = 0
- UpdateTitle.Position = ud2(0, 0, 0.40200001, 0)
- UpdateTitle.Selectable = true
- UpdateTitle.Size = ud2(0, 450, 0, 41)
- UpdateTitle.Font = Enum.Font.Cartoon
- UpdateTitle.Text = "Updates:"
- UpdateTitle.TextColor3 = Color3.new(1, 1, 1)
- UpdateTitle.TextScaled = true
- UpdateTitle.TextSize = 25
- UpdateTitle.TextWrapped = true
- Updates.Name = "Updates"
- Updates.Parent = Home
- Updates.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Updates.BorderSizePixel = 0
- Updates.Position = ud2(0, 0, 0.50999999, 0)
- Updates.Selectable = true
- Updates.Size = ud2(1, 0, 0.211999997, 0)
- Updates.Font = Enum.Font.Cartoon
- Updates.Text = "No info here as this is the first version"
- Updates.TextColor3 = Color3.new(1, 1, 1)
- Updates.TextSize = 25
- Updates.TextWrapped = true
- Updates.TextYAlignment = Enum.TextYAlignment.Top
- QuickCMD.Name = "QuickCMD"
- QuickCMD.Parent = Main
- QuickCMD.BackgroundColor3 = Color3.new(1, 1, 1)
- QuickCMD.BackgroundTransparency = 1
- QuickCMD.ClipsDescendants = true
- QuickCMD.Size = ud2(1, 0, 1, 0)
- QuickCMD.Visible = false
- CmdTitle.Name = "CmdTitle"
- CmdTitle.Parent = QuickCMD
- CmdTitle.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- CmdTitle.BorderSizePixel = 0
- CmdTitle.Selectable = true
- CmdTitle.Size = ud2(1, 0, 0.0850000009, 0)
- CmdTitle.Font = Enum.Font.Cartoon
- CmdTitle.Text = "Quick Commands"
- CmdTitle.TextColor3 = Color3.new(1, 1, 1)
- CmdTitle.TextScaled = true
- CmdTitle.TextSize = 14
- CmdTitle.TextWrapped = true
- CmdCredit.Name = "CmdCredit"
- CmdCredit.Parent = QuickCMD
- CmdCredit.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- CmdCredit.BorderSizePixel = 0
- CmdCredit.Position = ud2(0, 0, 0, 472)
- CmdCredit.Selectable = true
- CmdCredit.Size = ud2(0, 450, 0, 28)
- CmdCredit.Font = Enum.Font.Cartoon
- CmdCredit.Text = "Gui made by skrubkid#1330"
- CmdCredit.TextColor3 = Color3.new(1, 1, 1)
- CmdCredit.TextScaled = true
- CmdCredit.TextSize = 25
- CmdCredit.TextWrapped = true
- WalkInput.Name = "WalkInput"
- WalkInput.Parent = QuickCMD
- WalkInput.AnchorPoint = Vector2.new(1, 0)
- WalkInput.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- WalkInput.BorderSizePixel = 0
- WalkInput.Position = ud2(0.5, -5, 0.122000001, 0)
- WalkInput.Size = ud2(0, 202, 0, 50)
- WalkInput.Font = Enum.Font.Cartoon
- WalkInput.Text = "Input WalkSpeed"
- WalkInput.TextColor3 = Color3.new(1, 1, 1)
- WalkInput.TextSize = 20
- WalkInput.TextWrapped = true
- JumpInput.Name = "JumpInput"
- JumpInput.Parent = QuickCMD
- JumpInput.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- JumpInput.BorderSizePixel = 0
- JumpInput.Position = ud2(0.5, 5, 0.122000001, 0)
- JumpInput.Size = ud2(0, 202, 0, 50)
- JumpInput.Font = Enum.Font.Cartoon
- JumpInput.Text = "Input JumpPower"
- JumpInput.TextColor3 = Color3.new(1, 1, 1)
- JumpInput.TextSize = 20
- JumpInput.TextWrapped = true
- God.Name = "God"
- God.Parent = QuickCMD
- God.AnchorPoint = Vector2.new(1, 0)
- God.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- God.BorderSizePixel = 0
- God.Position = ud2(0.5, -5, 0.122000001, 60)
- God.Size = ud2(0, 202, 0, 50)
- God.Font = Enum.Font.Cartoon
- God.Text = "God"
- God.TextColor3 = Color3.new(1, 1, 1)
- God.TextSize = 20
- Ungod.Name = "Ungod"
- Ungod.Parent = QuickCMD
- Ungod.AnchorPoint = Vector2.new(1, 0)
- Ungod.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Ungod.BorderSizePixel = 0
- Ungod.Position = ud2(0.971000016, -5, 0.122000001, 60)
- Ungod.Size = ud2(0, 202, 0, 50)
- Ungod.Font = Enum.Font.Cartoon
- Ungod.Text = "Ungod"
- Ungod.TextColor3 = Color3.new(1, 1, 1)
- Ungod.TextSize = 20
- NameInput.Name = "NameInput"
- NameInput.Parent = QuickCMD
- NameInput.AnchorPoint = Vector2.new(1, 0)
- NameInput.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- NameInput.BorderSizePixel = 0
- NameInput.Position = ud2(0.73555553, -5, 0.843999982, 0)
- NameInput.Size = ud2(0, 202, 0, 50)
- NameInput.Font = Enum.Font.Cartoon
- NameInput.Text = "Enter Player Name (me, others and all included)"
- NameInput.TextColor3 = Color3.new(1, 1, 1)
- NameInput.TextSize = 20
- NameInput.TextWrapped = true
- Kill.Name = "Kill"
- Kill.Parent = QuickCMD
- Kill.AnchorPoint = Vector2.new(1, 0)
- Kill.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Kill.BorderSizePixel = 0
- Kill.Position = ud2(0.5, -5, 0.122000001, 120)
- Kill.Size = ud2(0, 202, 0, 50)
- Kill.Font = Enum.Font.Cartoon
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.new(1, 1, 1)
- Kill.TextSize = 20
- Kick.Name = "Kick"
- Kick.Parent = QuickCMD
- Kick.AnchorPoint = Vector2.new(1, 0)
- Kick.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Kick.BorderSizePixel = 0
- Kick.Position = ud2(0.971000016, -5, 0.122000001, 120)
- Kick.Size = ud2(0, 202, 0, 50)
- Kick.Font = Enum.Font.Cartoon
- Kick.Text = "Kick"
- Kick.TextColor3 = Color3.new(1, 1, 1)
- Kick.TextSize = 20
- FF.Name = "FF"
- FF.Parent = QuickCMD
- FF.AnchorPoint = Vector2.new(1, 0)
- FF.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- FF.BorderSizePixel = 0
- FF.Position = ud2(0.5, -5, 0.122000001, 180)
- FF.Size = ud2(0, 202, 0, 50)
- FF.Font = Enum.Font.Cartoon
- FF.Text = "FF"
- FF.TextColor3 = Color3.new(1, 1, 1)
- FF.TextSize = 20
- unFF.Name = "unFF"
- unFF.Parent = QuickCMD
- unFF.AnchorPoint = Vector2.new(1, 0)
- unFF.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- unFF.BorderSizePixel = 0
- unFF.Position = ud2(0.971000016, -5, 0.122000001, 180)
- unFF.Size = ud2(0, 202, 0, 50)
- unFF.Font = Enum.Font.Cartoon
- unFF.Text = "unFF"
- unFF.TextColor3 = Color3.new(1, 1, 1)
- unFF.TextSize = 20
- data.MainTitleX = MainTitle.Size;
- data.MainX = Main.Size;
- data.TabsX = Tabs.Size;
- end
- function init()
- tabs = reverseTable(tabs)
- Buttons.CanvasSize = ud2(0,0,0,50*#guis)
- ScriptsButtons.CanvasSize = ud2(0,0,0,50*#scripts)
- for i,v in ipairs(tabs) do
- if #Tabs:GetChildren() > 0 then
- for i,v in pairs(Tabs:GetChildren()) do
- v.Position = v.Position + ud2(0,0,0.1,0)
- end
- end
- local tab = Instance.new("TextLabel")
- tab.Size = ud2(1,0,0,50)
- tab.Position = ud2(0,0,0,0)
- tab.BackgroundTransparency = 0
- tab.BackgroundColor3 = Tabs.BackgroundColor3
- tab.BorderSizePixel = 0
- tab.Font = Enum.Font.Cartoon
- tab.TextColor3 = Color3.new(1,1,1)
- tab.TextSize = 35
- tab.Name = v.Name
- tab.Parent = Tabs
- tab.Text = v.Name
- table.insert(tabButtons,tab)
- end
- for i,v in pairs(guis) do
- if #Buttons:GetChildren() > 0 then
- for i,v in pairs(Buttons:GetChildren()) do
- v.Position = v.Position + ud2(0,0,0,50)
- end
- end
- local btn = Instance.new("TextLabel")
- btn.Size = ud2(1,0,0,50)
- btn.Position = ud2(0,0,0,0)
- btn.BackgroundTransparency = 0
- btn.BackgroundColor3 = Tabs.BackgroundColor3
- btn.BorderSizePixel = 0
- btn.Font = Enum.Font.Cartoon
- btn.TextColor3 = Color3.new(1,1,1)
- btn.TextSize = 35
- btn.Name = v[1]
- btn.Parent = Buttons
- btn.Text = v[1]
- table.insert(guiButtons,btn)
- end
- for i,v in pairs(scripts) do
- if #ScriptsButtons:GetChildren() > 0 then
- for i,v in pairs(ScriptsButtons:GetChildren()) do
- v.Position = v.Position + ud2(0,0,0,50)
- end
- end
- local btn = Instance.new("TextLabel")
- btn.Size = ud2(1,0,0,50)
- btn.Position = ud2(0,0,0,0)
- btn.BackgroundTransparency = 0
- btn.BackgroundColor3 = Tabs.BackgroundColor3
- btn.BorderSizePixel = 0
- btn.Font = Enum.Font.Cartoon
- btn.TextColor3 = Color3.new(1,1,1)
- btn.TextSize = 35
- btn.Name = v[1]
- btn.Parent = ScriptsButtons
- btn.Text = v[1]
- table.insert(scriptButtons,btn)
- end
- for i,v in pairs(ExeButtons) do
- table.insert(exeButtons,i)
- end
- for i,v in pairs(CmdButtons) do
- table.insert(commandButtons,v.Btn)
- end
- for i,v in pairs(tabButtons) do
- v.MouseEnter:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(60,60,60)}):Play()
- end)
- v.MouseLeave:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(42,42,42)}):Play()
- end)
- end
- for i,v in pairs(scriptButtons) do
- v.MouseEnter:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(60,60,60)}):Play()
- end)
- v.MouseLeave:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(42,42,42)}):Play()
- end)
- end
- for i,v in pairs(guiButtons) do
- v.MouseEnter:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(60,60,60)}):Play()
- end)
- v.MouseLeave:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(42,42,42)}):Play()
- end)
- end
- for i,v in pairs(commandButtons) do
- v.MouseEnter:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(60,60,60)}):Play()
- end)
- v.MouseLeave:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(42,42,42)}):Play()
- end)
- end
- for i,v in pairs(exeButtons) do
- v.MouseEnter:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(60,60,60)}):Play()
- end)
- v.MouseLeave:Connect(function()
- tween:Create(v,TweenInfo.new(0.25),{BackgroundColor3 = Color3.fromRGB(42,42,42)}):Play()
- end)
- end
- data.Menu.Visible = true
- end
- function reverseTable(t)
- local r = {}
- for i,v in ipairs(t) do
- table.insert(r,#t-(#t-1),v)
- end
- return r
- end
- function findPlayer(str)
- if str == "me" then
- return player
- elseif str == "all" then
- local plrs = game.Players:GetChildren()
- return plrs
- elseif str == "others" then
- local plrs = {}
- for i,v in next, game.Players:GetChildren() do
- if v ~= player then
- plrs[i] = v
- end
- end
- return plrs
- else
- return game.Players:FindFirstChild(str)
- end
- end
- function checkHover(gui)
- if gui.Parent.Visible == false then
- return false
- elseif gui.Parent.Parent.Visible == false then
- return false
- end
- local isHovering = (
- (mouse.X >= gui.AbsolutePosition.X and mouse.X < gui.AbsolutePosition.X + gui.AbsoluteSize.X)
- and
- (mouse.Y >= gui.AbsolutePosition.Y and mouse.Y < gui.AbsolutePosition.Y + gui.AbsoluteSize.Y)
- )
- if isHovering then
- return true,gui
- end
- return false
- end
- function buttonClick()
- for i,v in pairs(tabButtons) do
- local h,g = checkHover(v)
- if h and g then
- if tabs[i].Name == v.Name and tabs[i].Click then
- tabs[i].Click()
- setMenu(tabs[i].Redirect)
- else
- end
- end
- end
- for i,v in pairs(scriptButtons) do
- local h,g = checkHover(v)
- if g and g then
- if scripts[i] and scripts[i][3] then
- if scripts[i][3] == 1 then
- warn("Loading",scripts[i][1])
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/"..scripts[i][2]))()
- elseif scripts[i][3] == 2 then
- warn("Loading",scripts[i][1])
- loadstring(game:GetObjects("rbxassetid://"..scripts[i][2]))
- else
- warn("Loading",scripts[i][1])
- loadstring(scripts[i][2])
- end
- end
- end
- end
- for i,v in pairs(guiButtons) do
- local h,g = checkHover(v)
- if g and g then
- if guis[i] and guis[i][3] then
- if guis[i][3] == 1 then
- warn("Loading",guis[i][1])
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/"..guis[i][2]))()
- elseif guis[i][3] == 2 then
- warn("Loading",guis[i][1])
- loadstring(game:GetObjects("rbxassetid://"..guis[i][2][1].Source))()
- else
- warn("Loading",guis[i][1])
- loadstring(guis[i][2])()
- end
- end
- end
- end
- for i,v in pairs(exeButtons) do
- local h,g = checkHover(v)
- if h and g then
- if ExeButtons[v] and ExeButtons[v].Click then
- ExeButtons[v].Click()
- end
- end
- end
- for i,v in pairs(CmdButtons) do
- local h,g = checkHover(v.Btn)
- if h and g then
- if v and v.Click then
- print(3)
- v.Click()
- else
- print(v.Name)
- end
- end
- end
- end
- function setMenu(menu)
- if type(menu) ~= "userdata" and not menu:IsA("Frame") then warn("Argument for setMenu is a frame, not",menu.ClassName) return end
- data.Menu.Visible = false
- data.Menu = menu
- data.Menu.Visible = true
- end
- function findFirst(instance, name,class)
- for i,v in next, instance:GetDescendants() do
- if v.Name == name and v:IsA(class) then
- return v
- end
- end
- end
- initGui()
- init()
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- if checkHover(MainTitle) then
- local delta = input.Position - dragStart
- Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- end
- MainTitle.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch and checkHover(MainTitle) then
- dragging = true
- dragStart = input.Position
- startPos = MainTitle.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- MainTitle.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch and checkHover(MainTitle) then
- dragInput = input
- end
- end)
- userInput.InputChanged:Connect(function(input)
- if input == dragInput and dragging and checkHover(MainTitle) then
- update(input)
- end
- end)
- userInput.InputBegan:Connect(function(obj,busy)
- if busy then return end
- if obj.UserInputType == Enum.UserInputType.MouseButton1 then
- buttonClick()
- elseif obj.KeyCode == Enum.KeyCode.Equals then
- if data.Open then
- Main:TweenSize(ud2(0,Main.Size.X.Offset,0,0))
- Main:TweenPosition(ud2(0,503,0,409/2))
- Tabs:TweenSize(ud2(0,Tabs.Size.X.Offset,0,0))
- Tabs:TweenPosition(ud2(0,580,0,0))
- wait(0.95)
- MainTitle:TweenSize(ud2(0,0,0,MainTitle.Size.Y.Offset))
- wait(1)
- setMenu(Home)
- else
- MainTitle:TweenSize(data.MainTitleX)
- wait(0.8)
- Main:TweenSize(data.MainX)
- Main:TweenPosition(ud2(0,503,0,409))
- Tabs:TweenSize(data.TabsX)
- Tabs:TweenPosition(ud2(0,580,0,250))
- end
- data.Open = not data.Open
- end
- end)
- do -- Cmds
- NameInput.FocusLost:Connect(function()
- local p = findPlayer(NameInput.Text)
- if p then
- data.Player = p
- NameInput.Text = "Enter Player Name (me, others and all included)"
- else
- NameInput.Text = "Player not found"
- wait(0.5)
- NameInput.Text = "Enter Player Name (me, others and all included)"
- end
- end)
- WalkInput.FocusLost:Connect(function()
- if not data.Player then return end
- if tonumber(WalkInput.Text) then
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v.Character.Humanoid.WalkSpeed = tonumber(WalkInput.Text)
- end
- else
- data.Player.Character.Humanoid.WalkSpeed = tonumber(WalkInput.Text)
- end
- data.WalkSpeed = tonumber(WalkInput.Text)
- else
- WalkInput.Text = "Must be number"
- wait(0.5)
- WalkInput.Text = "Input WalkSpeed"
- end
- end)
- JumpInput.FocusLost:Connect(function()
- if not data.Player then return end
- if tonumber(JumpInput.Text) then
- if typeof(data.Player) ~= "Instance" then
- for i,v in pairs(data.Player) do
- v.Character.Humanoid.JumpPower = tonumber(JumpInput.Text)
- end
- else
- data.Player.Character.Humanoid.JumpPower = tonumber(JumpInput.Text)
- end
- data.JumpPower = tonumber(JumpInput.Text)
- else
- JumpInput.Text = "Must be number"
- wait(0.5)
- JumpInput.Text = "Input JumpPower"
- end
- end)
- end
- ----------------[[ END OF SCRIPT ]]----------------
Advertisement
Add Comment
Please, Sign In to add comment