Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local gamehahagamehaha = Instance.new("ScreenGui")
- local loadFrame = Instance.new("ImageLabel")
- local openButton = Instance.new("TextButton")
- local roundify = Instance.new("ImageLabel")
- local openLabel = Instance.new("TextLabel")
- local creds = Instance.new("TextLabel")
- local main = Instance.new("ImageLabel")
- local creds_2 = Instance.new("TextLabel")
- local toggleButton = Instance.new("TextButton")
- local roundify_2 = Instance.new("ImageLabel")
- local toggleLabel = Instance.new("TextLabel")
- local toggle = Instance.new("ImageLabel")
- --Properties:
- gamehahagamehaha.Name = "gamehahagamehaha"
- gamehahagamehaha.Parent = game:GetService("CoreGui")
- loadFrame.Name = "loadFrame"
- loadFrame.Parent = gamehahagamehaha
- loadFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- loadFrame.BackgroundTransparency = 1.000
- loadFrame.Position = UDim2.new(0.338912129, 0, 0.364520073, 0)
- loadFrame.Size = UDim2.new(0, 216, 0, 99)
- loadFrame.Image = "rbxassetid://3570695787"
- loadFrame.ImageColor3 = Color3.fromRGB(90, 90, 90)
- loadFrame.ScaleType = Enum.ScaleType.Slice
- loadFrame.SliceCenter = Rect.new(100, 100, 100, 100)
- loadFrame.SliceScale = 0.120
- openButton.Name = "openButton"
- openButton.Parent = loadFrame
- openButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- openButton.BackgroundTransparency = 1.000
- openButton.BorderSizePixel = 0
- openButton.Position = UDim2.new(0.135209531, 0, -0.101010099, 50)
- openButton.Size = UDim2.new(0, 156, 0, 31)
- openButton.Font = Enum.Font.GothamBlack
- openButton.Text = "Open"
- openButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- openButton.TextSize = 20.000
- roundify.Name = "roundify"
- roundify.Parent = openButton
- roundify.Active = true
- roundify.AnchorPoint = Vector2.new(0.5, 0.5)
- roundify.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- roundify.BackgroundTransparency = 1.000
- roundify.Position = UDim2.new(0.5, 0, 0.5, 0)
- roundify.Selectable = true
- roundify.Size = UDim2.new(1, 0, 1, 0)
- roundify.Image = "rbxassetid://3570695787"
- roundify.ImageColor3 = Color3.fromRGB(100, 100, 100)
- roundify.ScaleType = Enum.ScaleType.Slice
- roundify.SliceCenter = Rect.new(100, 100, 100, 100)
- roundify.SliceScale = 0.120
- openLabel.Name = "openLabel"
- openLabel.Parent = openButton
- openLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- openLabel.BackgroundTransparency = 1.000
- openLabel.BorderSizePixel = 0
- openLabel.Size = UDim2.new(0, 156, 0, 31)
- openLabel.Font = Enum.Font.GothamBlack
- openLabel.Text = "Open"
- openLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- openLabel.TextSize = 20.000
- openLabel.TextWrapped = true
- creds.Name = "creds"
- creds.Parent = loadFrame
- creds.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- creds.BackgroundTransparency = 1.000
- creds.BorderSizePixel = 0
- creds.Size = UDim2.new(0, 216, 0, 27)
- creds.Font = Enum.Font.GothamBlack
- creds.Text = "Made by TechHog#8983"
- creds.TextColor3 = Color3.fromRGB(255, 255, 255)
- creds.TextScaled = true
- creds.TextSize = 20.000
- creds.TextWrapped = true
- main.Name = "main"
- main.Parent = gamehahagamehaha
- main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- main.BackgroundTransparency = 1.000
- main.Position = UDim2.new(0.337596893, 0, 0.372917414, 0)
- main.Size = UDim2.new(0, 221, 0, 96)
- main.Image = "rbxassetid://3570695787"
- main.ImageColor3 = Color3.fromRGB(90, 90, 90)
- main.ScaleType = Enum.ScaleType.Slice
- main.SliceCenter = Rect.new(100, 100, 100, 100)
- main.SliceScale = 0.120
- main.Visible = false
- creds_2.Name = "creds"
- creds_2.Parent = main
- creds_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- creds_2.BackgroundTransparency = 1.000
- creds_2.BorderSizePixel = 0
- creds_2.Position = UDim2.new(0.000298892759, 0, -3.17891448e-07, 0)
- creds_2.Size = UDim2.new(0, 220, 0, 20)
- creds_2.Font = Enum.Font.GothamBlack
- creds_2.Text = "Made by TechHog#8984"
- creds_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- creds_2.TextScaled = true
- creds_2.TextSize = 20.000
- creds_2.TextWrapped = true
- toggleButton.Name = "toggleButton"
- toggleButton.Parent = main
- toggleButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- toggleButton.BackgroundTransparency = 1.000
- toggleButton.BorderSizePixel = 0
- toggleButton.Position = UDim2.new(0.157097593, 0, -0.141992897, 50)
- toggleButton.Size = UDim2.new(0, 150, 0, 23)
- toggleButton.Font = Enum.Font.GothamBlack
- toggleButton.Text = "Open"
- toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- toggleButton.TextSize = 20.000
- roundify_2.Name = "roundify"
- roundify_2.Parent = toggleButton
- roundify_2.Active = true
- roundify_2.AnchorPoint = Vector2.new(0.5, 0.5)
- roundify_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- roundify_2.BackgroundTransparency = 1.000
- roundify_2.Position = UDim2.new(0.500126123, 0, 0.501796544, 0)
- roundify_2.Selectable = true
- roundify_2.Size = UDim2.new(1.00025225, 0, 1.0035975, 0)
- roundify_2.Image = "rbxassetid://3570695787"
- roundify_2.ImageColor3 = Color3.fromRGB(100, 100, 100)
- roundify_2.ScaleType = Enum.ScaleType.Slice
- roundify_2.SliceCenter = Rect.new(100, 100, 100, 100)
- roundify_2.SliceScale = 0.120
- toggleLabel.Name = "toggleLabel"
- toggleLabel.Parent = toggleButton
- toggleLabel.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- toggleLabel.BackgroundTransparency = 1.000
- toggleLabel.BorderSizePixel = 0
- toggleLabel.Position = UDim2.new(0.0320595279, 0, -2.6537025e-06, 0)
- toggleLabel.Size = UDim2.new(0, 150, 0, 23)
- toggleLabel.Font = Enum.Font.GothamBlack
- toggleLabel.Text = "Toggle"
- toggleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- toggleLabel.TextSize = 20.000
- toggleLabel.TextWrapped = true
- toggle.Name = "toggle"
- toggle.Parent = main
- toggle.Active = true
- toggle.AnchorPoint = Vector2.new(0.5, 0.5)
- toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- toggle.BackgroundTransparency = 1.000
- toggle.Position = UDim2.new(0.516397893, 0, -0.138382271, 95)
- toggle.Selectable = true
- toggle.Size = UDim2.new(0.378619671, 0, 0.144349709, 0)
- toggle.Image = "rbxassetid://3570695787"
- toggle.ImageColor3 = Color3.fromRGB(100, 100, 100)
- toggle.ScaleType = Enum.ScaleType.Slice
- toggle.SliceCenter = Rect.new(100, 100, 100, 100)
- toggle.SliceScale = 0.120
- -- Scripts:
- local function SXWV_fake_script() -- loadFrame.loadScript
- local script = Instance.new('LocalScript', loadFrame)
- local tweenService = game:GetService("TweenService")
- local frame = script.Parent
- local main = script.Parent.Parent.main
- local openButton = frame.openButton
- frame.Visible = true
- openButton.MouseButton1Click:connect(function()
- tweenService:Create(frame, TweenInfo.new(1), {Size=UDim2.new(0,0,0,frame.Size.Y.Offset)}):Play()
- for a,obj in pairs(frame:GetChildren()) do
- if not obj:IsA("LocalScript") then
- tweenService:Create(obj, TweenInfo.new(1), {Size=UDim2.new(0,0,0,obj.Size.Y.Offset)}):Play()
- tweenService:Create(obj, TweenInfo.new(1), {TextTransparency=1}):Play()
- for a,objChild in pairs(obj:GetChildren()) do
- if not objChild:IsA("ImageLabel") then
- tweenService:Create(objChild, TweenInfo.new(1), {Size=UDim2.new(0,0,0,objChild.Size.Y.Offset)}):Play()
- tweenService:Create(objChild, TweenInfo.new(1), {TextTransparency=1}):Play()
- end
- end
- end
- end
- wait(1)
- main.Visible = true
- frame.Visible = false
- end)
- end
- coroutine.wrap(SXWV_fake_script)()
- local function KVTFO_fake_script() -- loadFrame.Dragify
- local script = Instance.new('LocalScript', loadFrame)
- function dragify(Frame)
- dragToggle = nil
- local dragSpeed = .25 -- You can edit this.
- dragInput = nil
- dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- dragify(loadFrame)
- end
- coroutine.wrap(KVTFO_fake_script)()
- local function ITRZRT_fake_script() -- main.mainScript
- local script = Instance.new('LocalScript', main)
- local tweenService = game:GetService("TweenService")
- local runService = game:GetService("RunService")
- local players = game:GetService("Players")
- local player = players.LocalPlayer
- local frame = script.Parent
- local toggleButton = frame.toggleButton
- local toggleImage = frame.toggle
- local toggle = false
- local rebirthRemote = game.ReplicatedStorage.RebirthRequest
- local rebirthGui = player.PlayerGui.RebirthGui
- local lengthText = rebirthGui.Window.Content.InnerPanel.ProgressBar.Background.Text
- local items = game.Workspace.Items
- local playerStats = player.Stats
- local length = playerStats.Length
- local gems = playerStats.Gems
- local function checkRebirth()
- local args = string.split(lengthText.Text, '/')
- local have = tostring(length.Value)
- local need = args[2]
- if have >= need then
- return true
- else
- return false
- end
- end
- local function autofarm()
- local character = player.Character
- if character then
- for a,item in pairs(items:GetChildren()) do
- if item:FindFirstChild("Part") then
- if toggle == true then
- character:MoveTo(item.Part.Position)
- if _G.doRebirth == true then
- if checkRebirth() == true then
- rebirthRemote:InvokeServer()
- end
- end
- wait()
- end
- end
- end
- end
- end
- toggleButton.MouseButton1Click:connect(function()
- if toggle == false then
- toggle = true
- tweenService:Create(toggleImage, TweenInfo.new(1), {ImageColor3=Color3.fromRGB(34, 255, 0)}):Play()
- else
- toggle = false
- tweenService:Create(toggleImage, TweenInfo.new(1), {ImageColor3=Color3.fromRGB(255, 0, 0)}):Play()
- end
- end)
- runService.RenderStepped:connect(function()
- if toggle == true then
- wait()
- autofarm()
- end
- end)
- end
- coroutine.wrap(ITRZRT_fake_script)()
- local function JSWR_fake_script() -- main.Dragify
- local script = Instance.new('LocalScript', main)
- function dragify(Frame)
- dragToggle = nil
- local dragSpeed = .25 -- You can edit this.
- dragInput = nil
- dragStart = nil
- local dragPos = nil
- function updateInput(input)
- local Delta = input.Position - dragStart
- local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- dragify(main)
- end
- coroutine.wrap(JSWR_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement