Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.CoreGui:FindFirstChild("OPUHx") then
- game.CoreGui:FindFirstChild("OPUHx"):Destroy()
- end
- local OPUHx = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local TopBar = Instance.new("Frame")
- local Name = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local Functions = Instance.new("TextButton")
- local Sep = Instance.new("TextLabel")
- local BringX = Instance.new("TextButton")
- local FunctionsFrame = Instance.new("Frame")
- local FastPunchOn = Instance.new("TextButton")
- local BringAllChests = Instance.new("TextButton")
- local FFGrid = Instance.new("UIGridLayout")
- local BringMaterials = Instance.new("TextButton")
- local InfBeli = Instance.new("TextButton")
- local GiveBounty = Instance.new("TextButton")
- local BuyDf = Instance.new("TextButton")
- local Farm = Instance.new("TextButton")
- local BringXFrame = Instance.new("Frame")
- local Holder = Instance.new("ScrollingFrame")
- local BXFGrid = Instance.new("UIGridLayout")
- local BXFInput = Instance.new("TextBox")
- OPUHx.Name = "OPUHx"
- OPUHx.Parent = game.CoreGui
- OPUHx.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = OPUHx
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- MainFrame.BorderColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- MainFrame.Position = UDim2.new(0.0209854022, 0, 0.156826571, 0)
- MainFrame.Size = UDim2.new(0.227189779, 0, 0.536900342, 0)
- TopBar.Name = "TopBar"
- TopBar.Parent = MainFrame
- TopBar.Active = true
- TopBar.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- TopBar.BorderSizePixel = 0
- TopBar.Size = UDim2.new(1, 0, 0.0821114406, 0)
- Name.Name = "Name"
- Name.Parent = TopBar
- Name.Active = true
- Name.BackgroundColor3 = Color3.new(1, 1, 1)
- Name.BackgroundTransparency = 1
- Name.BorderSizePixel = 0
- Name.Position = UDim2.new(0.292613655, 0, 0, 0)
- Name.Size = UDim2.new(0.414772719, 0, 1, 0)
- Name.Font = Enum.Font.SourceSansBold
- Name.Text = "OPUHx"
- Name.TextColor3 = Color3.new(1, 1, 1)
- Name.TextSize = 30
- Exit.Name = "Exit"
- Exit.Parent = TopBar
- Exit.BackgroundColor3 = Color3.new(1, 1, 1)
- Exit.BackgroundTransparency = 1
- Exit.BorderSizePixel = 0
- Exit.Position = UDim2.new(0.897727251, 0, 0, 0)
- Exit.Size = UDim2.new(0.102272727, 0, 1, 0)
- Exit.AutoButtonColor = false
- Exit.Font = Enum.Font.SourceSansBold
- Exit.Text = "X"
- Exit.TextColor3 = Color3.new(1, 1, 1)
- Exit.TextSize = 30
- Functions.Name = "Functions"
- Functions.Parent = MainFrame
- Functions.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- Functions.BorderSizePixel = 0
- Functions.Position = UDim2.new(0.213068128, 0, 0.105571851, 0)
- Functions.Size = UDim2.new(0.269886374, 0, 0.0645161271, 0)
- Functions.AutoButtonColor = false
- Functions.Font = Enum.Font.SourceSansBold
- Functions.Text = "Functions"
- Functions.TextColor3 = Color3.new(1, 1, 1)
- Functions.TextSize = 16
- Sep.Name = "Sep"
- Sep.Parent = MainFrame
- Sep.Active = true
- Sep.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- Sep.BorderSizePixel = 0
- Sep.Position = UDim2.new(0.0255681816, 0, 0.196480945, 0)
- Sep.Size = UDim2.new(0.948863626, 0, 0.00879765395, 0)
- Sep.Font = Enum.Font.SourceSansBold
- Sep.Text = ""
- Sep.TextColor3 = Color3.new(1, 1, 1)
- Sep.TextSize = 30
- BringX.Name = "BringX"
- BringX.Parent = MainFrame
- BringX.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- BringX.BorderSizePixel = 0
- BringX.Position = UDim2.new(0.514204502, 0, 0.105571851, 0)
- BringX.Size = UDim2.new(0.269886374, 0, 0.0645161271, 0)
- BringX.AutoButtonColor = false
- BringX.Font = Enum.Font.SourceSansBold
- BringX.Text = "BringX"
- BringX.TextColor3 = Color3.new(1, 1, 1)
- BringX.TextSize = 16
- FunctionsFrame.Name = "FunctionsFrame"
- FunctionsFrame.Parent = MainFrame
- FunctionsFrame.Active = true
- FunctionsFrame.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- FunctionsFrame.BorderColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- FunctionsFrame.Position = UDim2.new(0.0255681816, 0, 0.225806445, 0)
- FunctionsFrame.Size = UDim2.new(0.948863626, 0, 0.739003003, 0)
- FastPunchOn.Name = "FastPunchOn"
- FastPunchOn.Parent = FunctionsFrame
- FastPunchOn.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- FastPunchOn.BorderSizePixel = 0
- FastPunchOn.Position = UDim2.new(0.0973223522, 0, 0.0450123325, 0)
- FastPunchOn.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- FastPunchOn.AutoButtonColor = false
- FastPunchOn.Font = Enum.Font.SourceSansBold
- FastPunchOn.Text = "Fast Punch: On"
- FastPunchOn.TextColor3 = Color3.new(1, 1, 1)
- FastPunchOn.TextSize = 14
- BringAllChests.Name = "BringAllChests"
- BringAllChests.Parent = FunctionsFrame
- BringAllChests.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- BringAllChests.BorderSizePixel = 0
- BringAllChests.Position = UDim2.new(0.0973223522, 0, 0.195805967, 0)
- BringAllChests.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- BringAllChests.AutoButtonColor = false
- BringAllChests.Font = Enum.Font.SourceSansBold
- BringAllChests.Text = "Bring All Chests"
- BringAllChests.TextColor3 = Color3.new(1, 1, 1)
- BringAllChests.TextSize = 14
- FFGrid.Name = "FFGrid"
- FFGrid.Parent = FunctionsFrame
- FFGrid.HorizontalAlignment = Enum.HorizontalAlignment.Center
- FFGrid.CellPadding = UDim2.new(0.00999999978, 0, 0.00999999978, 0)
- FFGrid.CellSize = UDim2.new(0.384000003, 0, 0.104000002, 0)
- BringMaterials.Name = "BringMaterials"
- BringMaterials.Parent = FunctionsFrame
- BringMaterials.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- BringMaterials.BorderSizePixel = 0
- BringMaterials.Position = UDim2.new(0.0973223522, 0, 0.195805967, 0)
- BringMaterials.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- BringMaterials.AutoButtonColor = false
- BringMaterials.Font = Enum.Font.SourceSansBold
- BringMaterials.Text = "Bring Materials"
- BringMaterials.TextColor3 = Color3.new(1, 1, 1)
- BringMaterials.TextSize = 14
- InfBeli.Name = "InfBeli"
- InfBeli.Parent = FunctionsFrame
- InfBeli.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- InfBeli.BorderSizePixel = 0
- InfBeli.Position = UDim2.new(0.0973223522, 0, 0.0450123325, 0)
- InfBeli.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- InfBeli.AutoButtonColor = false
- InfBeli.Font = Enum.Font.SourceSansBold
- InfBeli.Text = "Inf Beli"
- InfBeli.TextColor3 = Color3.new(1, 1, 1)
- InfBeli.TextSize = 14
- GiveBounty.Name = "GiveBounty"
- GiveBounty.Parent = FunctionsFrame
- GiveBounty.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- GiveBounty.BorderSizePixel = 0
- GiveBounty.Position = UDim2.new(0.0973223522, 0, 0.0450123325, 0)
- GiveBounty.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- GiveBounty.AutoButtonColor = false
- GiveBounty.Font = Enum.Font.SourceSansBold
- GiveBounty.Text = "Give Bounty"
- GiveBounty.TextColor3 = Color3.new(1, 1, 1)
- GiveBounty.TextSize = 14
- BuyDf.Name = "BuyDf"
- BuyDf.Parent = FunctionsFrame
- BuyDf.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- BuyDf.BorderSizePixel = 0
- BuyDf.Position = UDim2.new(0.0973223522, 0, 0.0450123325, 0)
- BuyDf.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- BuyDf.AutoButtonColor = false
- BuyDf.Font = Enum.Font.SourceSansBold
- BuyDf.Text = "Buy DF"
- BuyDf.TextColor3 = Color3.new(1, 1, 1)
- BuyDf.TextSize = 14
- Farm.Name = "Farm"
- Farm.Parent = FunctionsFrame
- Farm.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- Farm.BorderSizePixel = 0
- Farm.Position = UDim2.new(0.0973223522, 0, 0.0450123325, 0)
- Farm.Size = UDim2.new(0.383658826, 0, 0.104198627, 0)
- Farm.AutoButtonColor = false
- Farm.Font = Enum.Font.SourceSansBold
- Farm.Text = "Farm"
- Farm.TextColor3 = Color3.new(1, 1, 1)
- Farm.TextSize = 14
- BringXFrame.Name = "BringXFrame"
- BringXFrame.Parent = MainFrame
- BringXFrame.Active = true
- BringXFrame.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
- BringXFrame.BorderColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- BringXFrame.Position = UDim2.new(0.0255681816, 0, 0.225806445, 0)
- BringXFrame.Size = UDim2.new(0.948863626, 0, 0.739003003, 0)
- BringXFrame.Visible = false
- Holder.Name = "Holder"
- Holder.Parent = BringXFrame
- Holder.Active = true
- Holder.BackgroundColor3 = Color3.new(1, 1, 1)
- Holder.BackgroundTransparency = 1
- Holder.BorderSizePixel = 0
- Holder.Position = UDim2.new(0.038922064, 0, 0.170634955, 0)
- Holder.Size = UDim2.new(0.922155678, 0, 0.797618926, 0)
- Holder.CanvasSize = UDim2.new(0, 0, 5, 0)
- Holder.BottomImage = ""
- Holder.ScrollBarThickness = 4
- Holder.TopImage = ""
- BXFGrid.Name = "BXFGrid"
- BXFGrid.Parent = Holder
- BXFGrid.HorizontalAlignment = Enum.HorizontalAlignment.Center
- BXFGrid.CellSize = UDim2.new(0.493999988, 0, 0.0220000011, 0)
- BXFInput.Name = "BXFInput"
- BXFInput.Parent = BringXFrame
- BXFInput.BackgroundColor3 = Color3.new(0.207843, 0.439216, 0.623529)
- BXFInput.BorderSizePixel = 0
- BXFInput.Position = UDim2.new(0.0359281451, 0, 0.0317460261, 0)
- BXFInput.Size = UDim2.new(0.925149679, 0, 0.10317459, 0)
- BXFInput.Font = Enum.Font.SourceSansBold
- BXFInput.PlaceholderColor3 = Color3.new(1, 1, 1)
- BXFInput.Text = ""
- BXFInput.TextColor3 = Color3.new(1, 1, 1)
- BXFInput.TextSize = 14
- local OPUHx = game.CoreGui.OPUHx
- local MainFrame = OPUHx.MainFrame
- local TopBar = MainFrame.TopBar
- local BringXFrame = MainFrame.BringXFrame
- local FunctionsFrame = MainFrame.FunctionsFrame
- local Holder = BringXFrame.Holder
- local Exit = TopBar.Exit
- local BringX = MainFrame.BringX
- local Functions = MainFrame.Functions
- local FastPunchOn = FunctionsFrame.FastPunchOn
- local BringAllChests = FunctionsFrame.BringAllChests
- local BringMaterials = FunctionsFrame.BringMaterials
- local Farm = FunctionsFrame.Farm
- local BuyDf = FunctionsFrame.BuyDf
- local InfBeli = FunctionsFrame.InfBeli
- local GiveBounty = FunctionsFrame.GiveBounty
- local BXFInput = BringXFrame.BXFInput
- MainFrame.Draggable = true
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local root = char:WaitForChild("HumanoidRootPart")
- local UserInputService = game:GetService("UserInputService")
- local UI_Open = true
- UserInputService.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.RightShift then
- if UI_Open == true then
- MainFrame:TweenPosition(UDim2.new(-2, 0, 0.168, 0), "Out", "Quad", 0.4)
- wait(0.45)
- UI_Open = false
- elseif UI_Open == false then
- MainFrame:TweenPosition(UDim2.new(0.009, 0, 0.168, 0), "Out", "Quad", 0.4)
- wait(0.45)
- UI_Open = true
- end
- end
- end)
- local FastPunchFunc = coroutine.wrap(function()
- while wait() do
- local combat = game["ReplicatedStorage"]["rems"]["combat"]
- local args = {[1] = 1, [2] = "com", [3] = "സസàµà´¨àµ‡à´¹à´‚"}
- combat:FireServer(unpack(args))
- end
- end)
- BringX.MouseButton1Click:Connect(function()
- BringXFrame.Visible = true
- FunctionsFrame.Visible = false
- end)
- Functions.MouseButton1Click:Connect(function()
- BringXFrame.Visible = false
- FunctionsFrame.Visible = true
- end)
- Exit.MouseButton1Click:Connect(function()
- MainFrame:TweenPosition(UDim2.new(-2, 0, 0.168, 0), "Out", "Quad", 0.4)
- wait(0.41)
- OPUHx:Destroy()
- end)
- FastPunchOn.MouseButton1Click:Connect(function()
- FastPunchFunc()
- end)
- BringAllChests.MouseButton1Click:Connect(function()
- for i, v in pairs(workspace.chests:GetChildren()) do
- if v.Name == "chest" then
- v.base.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(5,0,5)
- end
- end
- for i, v in pairs(workspace.chests:GetChildren()) do
- if v.Name == "goldchest" then
- v.base.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(5,0,5)
- end
- end
- end)
- BringMaterials.MouseButton1Click:Connect(function()
- for i, v in pairs(workspace.materials:GetChildren()) do
- v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(5, 0, 0)
- end
- end)
- Farm.MouseButton1Click:Connect(function()
- local p = game.Players.LocalPlayer.Character.HumanoidRootPart
- _G.toggled = true
- while _G.toggled == true do
- for i, v in pairs(workspace.mobs:GetChildren()) do
- if v.Name == "Pirate" then
- v.HumanoidRootPart.CFrame = p.CFrame + Vector3.new(3.5,0,0)
- wait()
- v.HumanoidRootPart.CFrame = p.CFrame + Vector3.new(3.5,0,0)
- wait()
- end
- end
- end
- end)
- BuyDf.MouseButton1Click:Connect(function()
- game.ReplicatedStorage.rems.dps:FireServer("buydf")
- end)
- InfBeli.MouseButton1Click:Connect(function()
- local _1 = "\224\180\184\224\180\184\224\181\141\224\180\168\224\181\135\224\180\185\224\180\130"
- local _2 = "Torch"
- local _3 = -1000000
- game.ReplicatedStorage.rems.shop:FireServer("tools", _2, _3, _1)
- end)
- GiveBounty.MouseButton1Click:Connect(function()
- local me = game.Players.LocalPlayer
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= me then
- game.ReplicatedStorage.rems.cdmg:FireServer("\224\180\184\224\180\184\224\181\141\224\180\168\224\181\135\224\180\185\224\180\130", me.Data, v.Data, v.Character.Humanoid, 2500, nil, nil, 1, true, "combat", true, true)
- end
- end
- end)
- local focused = false
- local searching = false
- function createBtn(name, text)
- local Btn = Instance.new("TextButton")
- Btn.Name = tostring(name)
- Btn.Parent = Holder
- Btn.BackgroundColor3 = Color3.new(0.258824, 0.529412, 0.764706)
- Btn.BorderSizePixel = 0
- Btn.Position = UDim2.new(0.260146052, 0, 0.10341996, 0)
- Btn.Size = UDim2.new(0.49391228, 0, 0.0523191057, 0)
- Btn.AutoButtonColor = false
- Btn.Font = Enum.Font.SourceSansBold
- Btn.Text = tostring(text)
- Btn.TextColor3 = Color3.new(1, 1, 1)
- Btn.TextSize = 20
- Btn.MouseButton1Click:Connect(function()
- workspace[name].Handle.CFrame = root.CFrame + Vector3.new(2,0,0)
- searching = false
- end)
- end
- BXFInput.Focused:Connect(function()
- focused = true
- while focused do
- wait()
- for a,b in pairs(Holder:GetChildren()) do
- if b.ClassName == "TextButton" then
- b.Visible = false
- end
- end
- for i,v in pairs(Holder:GetChildren()) do
- if v.ClassName ~= "UIGridLayout" then
- if string.find(tostring(string.lower(v.Text)), tostring(string.lower(BXFInput.Text))) then
- if v.ClassName == "TextButton" then
- searching = true
- v.Visible = true
- end
- end
- end
- end
- end
- end)
- function removeBtn(name)
- Holder[name]:Destroy()
- end
- local objCheck = coroutine.wrap(function()
- while wait(1) do
- if searching == true then
- wait()
- else
- for x, z in pairs(Holder:GetChildren()) do
- if z.ClassName == "TextButton" then
- z:Destroy()
- end
- end
- for i, v in pairs(workspace:GetChildren()) do
- if v.ClassName == "Tool" then
- createBtn(v.Name, v.Name)
- end
- end
- end
- end
- end)
- objCheck()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement