Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- π₯π₯ INFINITE YIELD | Original π©βππ©βπ
- -- Made with love (and a hint of fatherly abandonment issues)
- local ScreenGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local ExecuteButton = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- -- GUI Setup
- ScreenGui.Name = "InfiniteYieldLoader"
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ScreenGui
- MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- MainFrame.BackgroundTransparency = 0.2
- MainFrame.BorderColor3 = Color3.fromRGB(255, 85, 0)
- MainFrame.BorderSizePixel = 2
- MainFrame.Position = UDim2.new(0.5, -100, 0.5, -50)
- MainFrame.Size = UDim2.new(0, 200, 0, 100)
- MainFrame.Active = true
- MainFrame.Draggable = true
- -- Make it draggable on mobile
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- MainFrame.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = MainFrame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- MainFrame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- Title.Name = "Title"
- Title.Parent = MainFrame
- Title.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
- Title.BackgroundTransparency = 0.8
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(0, 0, 0, 0)
- Title.Size = UDim2.new(1, 0, 0, 25)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "π₯ INFINITE YIELD π©βπ"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 14.000
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Parent = MainFrame
- ExecuteButton.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
- ExecuteButton.BackgroundTransparency = 0.5
- ExecuteButton.BorderSizePixel = 0
- ExecuteButton.Position = UDim2.new(0.1, 0, 0.35, 0)
- ExecuteButton.Size = UDim2.new(0.8, 0, 0.4, 0)
- ExecuteButton.Font = Enum.Font.GothamBold
- ExecuteButton.Text = "EXECUTE"
- ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ExecuteButton.TextSize = 18.000
- -- Button effects
- ExecuteButton.MouseEnter:Connect(function()
- ExecuteButton.BackgroundTransparency = 0.3
- end)
- ExecuteButton.MouseLeave:Connect(function()
- ExecuteButton.BackgroundTransparency = 0.5
- end)
- -- Main functionality
- ExecuteButton.MouseButton1Click:Connect(function()
- ExecuteButton.Text = "LOADING..."
- -- Execute Infinite Yield
- local success, err = pcall(function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/edgeiy/infiniteyield/master/source", true))()
- end)
- if success then
- -- Make the GUI disappear like your father that never came back with the milk :(
- for i = 1, 10 do
- MainFrame.BackgroundTransparency = MainFrame.BackgroundTransparency + 0.1
- Title.BackgroundTransparency = Title.BackgroundTransparency + 0.1
- ExecuteButton.BackgroundTransparency = ExecuteButton.BackgroundTransparency + 0.1
- wait(0.05)
- end
- ScreenGui:Destroy()
- else
- ExecuteButton.Text = "ERROR!"
- warn("Failed to load Infinite Yield: " .. err)
- wait(1)
- ExecuteButton.Text = "RETRY"
- end
- end)
- -- Easter egg for the milk joke
- local milkJokes = {
- "I'll be right back with the milk...",
- "Just going to the store real quick...",
- "This won't take 20 years, I promise!",
- "Loading... unlike my dad",
- "Executing... unlike my father's parenting"
- }
- local lastJokeTime = 0
- ExecuteButton.MouseButton2Click:Connect(function()
- if tick() - lastJokeTime > 5 then -- Rate limit to prevent spam
- local randomJoke = milkJokes[math.random(1, #milkJokes)]
- Title.Text = randomJoke
- lastJokeTime = tick()
- wait(2)
- Title.Text = "π₯ INFINITE YIELD π©βπ"
- end
- end)
Add Comment
Please, Sign In to add comment