Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Loaded IY Loader.")
- print("Version: v1.0")
- -- Credits:
- ----------------
- -- CryptedData - GUI Owner
- -- 1x1 - UI, Scripting
- ----------------
- -- Editing anything below will break the script
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- Frame.BorderColor3 = Color3.fromRGB(25, 25, 25)
- Frame.Position = UDim2.new(0.396669179, 0, 0.357055217, 0)
- Frame.Size = UDim2.new(0, 276, 0, 233)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- TextLabel.BorderColor3 = Color3.fromRGB(55, 55, 55)
- TextLabel.Size = UDim2.new(0, 276, 0, 27)
- TextLabel.Font = Enum.Font.Ubuntu
- TextLabel.Text = "IY Loader"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 20.000
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0, 0, 0.115879826, 0)
- TextLabel_2.Size = UDim2.new(0, 276, 0, 156)
- TextLabel_2.Font = Enum.Font.Ubuntu
- TextLabel_2.Text = "Welcome to the unofficial IY Loader. Current version: 5.3.1"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextSize = 20.000
- TextLabel_2.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- TextButton.BorderColor3 = Color3.fromRGB(55, 55, 55)
- TextButton.Position = UDim2.new(0, 0, 0.785407722, 0)
- TextButton.Size = UDim2.new(0, 276, 0, 50)
- TextButton.Font = Enum.Font.Ubuntu
- TextButton.Text = "Load"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextSize = 16.000
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.fromRGB(55, 55, 55)
- TextButton_2.BorderColor3 = Color3.fromRGB(55, 55, 55)
- TextButton_2.Position = UDim2.new(0.902173936, 0, 0, 0)
- TextButton_2.Size = UDim2.new(0, 27, 0, 27)
- TextButton_2.Font = Enum.Font.Ubuntu
- TextButton_2.Text = "X"
- TextButton_2.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14.000
- TextButton_2.TextWrapped = true
- -- Scripts:
- local function IAFHNY_fake_script() -- Frame.Dragify
- local script = Instance.new('LocalScript', Frame)
- local UIS = game:GetService("UserInputService")
- function dragify(Frame)
- local dragToggle = nil
- local dragSpeed = 0
- local dragInput = nil
- local ydragStart = 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(0.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil 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(Frame)
- end
- coroutine.wrap(IAFHNY_fake_script)()
- local function NYGIWM_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local button = script.Parent
- local gui = script.Parent.Parent
- button.MouseButton1Click:Connect(function()
- button.Text = "Loading..."
- loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
- gui:Destroy()
- end)
- end
- coroutine.wrap(NYGIWM_fake_script)()
- local function GFVBZE_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- local closebutton = script.Parent
- local gui = script.Parent.Parent
- closebutton.MouseButton1Click:Connect(function()
- gui:Destroy()
- end)
- end
- coroutine.wrap(GFVBZE_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment