local player = game.Players.LocalPlayer local mouse = player:GetMouse() -- GUI Utama local screenGui = Instance.new("ScreenGui") screenGui.Name = "InfinityGUI" screenGui.Parent = game.CoreGui -- Frame GUI Utama local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 400, 0, 250) mainFrame.Position = UDim2.new(0, 50, 0, 50) mainFrame.BackgroundColor3 = Color3.fromRGB(128, 128, 128) -- Background abu-abu mainFrame.BorderSizePixel = 4 -- Ketebalan border mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui -- Efek RGB pada Border spawn(function() while true do for i = 0, 255, 5 do mainFrame.BorderColor3 = Color3.fromRGB(i, 0, 255 - i) wait(0.05) end for i = 0, 255, 5 do mainFrame.BorderColor3 = Color3.fromRGB(255 - i, i, 0) wait(0.05) end end end) -- Nama GUI local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 30) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "∞ INFINITY" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 20 titleLabel.Parent = mainFrame -- Script Editor (pojok kiri atas) local scriptBox = Instance.new("TextBox") scriptBox.Size = UDim2.new(0.9, 0, 0.6, 0) scriptBox.Position = UDim2.new(0, 10, 0, 40) scriptBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) scriptBox.TextColor3 = Color3.fromRGB(255, 255, 255) scriptBox.Font = Enum.Font.Code scriptBox.TextSize = 14 scriptBox.MultiLine = true scriptBox.ClearTextOnFocus = false scriptBox.ClipsDescendants = true scriptBox.Parent = mainFrame -- Tombol Execute local executeButton = Instance.new("TextButton") executeButton.Size = UDim2.new(0.4, 0, 0.15, 0) executeButton.Position = UDim2.new(0.05, 0, 0.8, 0) executeButton.BackgroundColor3 = Color3.fromRGB(0, 200, 0) executeButton.Text = "EXECUTE" executeButton.TextColor3 = Color3.fromRGB(255, 255, 255) executeButton.Font = Enum.Font.SourceSansBold executeButton.TextSize = 18 executeButton.Parent = mainFrame -- Tombol Clear local clearButton = Instance.new("TextButton") clearButton.Size = UDim2.new(0.4, 0, 0.15, 0) clearButton.Position = UDim2.new(0.55, 0, 0.8, 0) clearButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0) clearButton.Text = "CLEAR" clearButton.TextColor3 = Color3.fromRGB(255, 255, 255) clearButton.Font = Enum.Font.SourceSansBold clearButton.TextSize = 18 clearButton.Parent = mainFrame -- Tombol "IY" (Infinite Yield) di kanan GUI (vertikal) local iyButton = Instance.new("TextButton") iyButton.Size = UDim2.new(0.15, 0, 0.4, 0) iyButton.Position = UDim2.new(0.85, 0, 0.1, 0) iyButton.BackgroundColor3 = Color3.fromRGB(0, 0, 150) iyButton.Text = "IY" iyButton.TextColor3 = Color3.fromRGB(255, 255, 255) iyButton.Font = Enum.Font.SourceSansBold iyButton.TextSize = 18 iyButton.Parent = mainFrame -- Tombol Toggle (Bulat) local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 50, 0, 50) toggleButton.Position = UDim2.new(0, 10, 0, 10) toggleButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) toggleButton.Text = "∞" toggleButton.Font = Enum.Font.SourceSansBold toggleButton.TextSize = 24 toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) toggleButton.Parent = screenGui -- Bentuk Toggle Menjadi Bulat toggleButton.BorderSizePixel = 0 toggleButton.ClipsDescendants = true local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(1, 0) uiCorner.Parent = toggleButton -- Fungsi RGB untuk Toggle spawn(function() while true do for i = 0, 255, 5 do toggleButton.TextColor3 = Color3.fromRGB(i, 0, 255 - i) wait(0.05) end for i = 0, 255, 5 do toggleButton.TextColor3 = Color3.fromRGB(255 - i, i, 0) wait(0.05) end end end) -- Toggle GUI local isVisible = true toggleButton.MouseButton1Click:Connect(function() isVisible = not isVisible mainFrame.Visible = isVisible end) -- Draggable Toggle toggleButton.Active = true toggleButton.Draggable = true -- Fungsi Execute executeButton.MouseButton1Click:Connect(function() local scriptCode = scriptBox.Text loadstring(scriptCode)() end) -- Fungsi Clear clearButton.MouseButton1Click:Connect(function() scriptBox.Text = "" end) -- Fungsi Infinite Yield iyButton.MouseButton1Click:Connect(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))() end)