-- Made by luauruler26 local Player = game:GetService("Players").LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") local UserInputService = game:GetService("UserInputService") local MainGUI = Instance.new("ScreenGui") MainGUI.Name = "FyanExecGUI" MainGUI.ResetOnSpawn = false MainGUI.Parent = PlayerGui local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 300, 0, 230) MainFrame.Position = UDim2.new(0.5, -150, 0.5, -115) MainFrame.AnchorPoint = Vector2.new(0.5, 0.5) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.Visible = true MainFrame.Parent = MainGUI local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 8) mainCorner.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(0.9, 0, 0.1, 0) Title.Position = UDim2.new(0.05, 0, 0.02, 0) Title.Text = "FyanExec" Title.Font = Enum.Font.GothamBold Title.TextSize = 18 Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.BackgroundTransparency = 1 Title.Parent = MainFrame local ScriptBox = Instance.new("TextBox") ScriptBox.Size = UDim2.new(0.9, 0, 0.65, 0) ScriptBox.Position = UDim2.new(0.05, 0, 0.15, 0) ScriptBox.MultiLine = true ScriptBox.Text = "Insert Script Here" ScriptBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) ScriptBox.TextColor3 = Color3.fromRGB(255, 255, 255) ScriptBox.Parent = MainFrame local textboxCorner = Instance.new("UICorner") textboxCorner.CornerRadius = UDim.new(0, 6) textboxCorner.Parent = ScriptBox local ExecuteBtn = Instance.new("TextButton") ExecuteBtn.Size = UDim2.new(0.3, 0, 0.15, 0) ExecuteBtn.Position = UDim2.new(0.05, 0, 0.82, 0) ExecuteBtn.Text = "๐Ÿš€ Execute" ExecuteBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) ExecuteBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ExecuteBtn.Parent = MainFrame local executeCorner = Instance.new("UICorner") executeCorner.CornerRadius = UDim.new(0, 6) executeCorner.Parent = ExecuteBtn local ClearBtn = Instance.new("TextButton") ClearBtn.Size = UDim2.new(0.3, 0, 0.15, 0) ClearBtn.Position = UDim2.new(0.35, 0, 0.82, 0) ClearBtn.Text = "๐Ÿงน Clear" ClearBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) ClearBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ClearBtn.Parent = MainFrame local clearCorner = Instance.new("UICorner") clearCorner.CornerRadius = UDim.new(0, 6) clearCorner.Parent = ClearBtn local MinimizeBtn = Instance.new("TextButton") MinimizeBtn.Size = UDim2.new(0.3, 0, 0.15, 0) MinimizeBtn.Position = UDim2.new(0.65, 0, 0.82, 0) MinimizeBtn.Text = "-" MinimizeBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100) MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeBtn.Parent = MainFrame local minimizeCorner = Instance.new("UICorner") minimizeCorner.CornerRadius = UDim.new(0, 6) minimizeCorner.Parent = MinimizeBtn local CloseBtn = Instance.new("TextButton") CloseBtn.Size = UDim2.new(0, 25, 0, 25) CloseBtn.Position = UDim2.new(0.93, 0, 0.02, 0) CloseBtn.Text = "X" CloseBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80) CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CloseBtn.Parent = MainFrame local closeUICorner = Instance.new("UICorner") closeUICorner.CornerRadius = UDim.new(1, 0) closeUICorner.Parent = CloseBtn local FloatingBtn = Instance.new("TextButton") FloatingBtn.Size = UDim2.new(0, 60, 0, 60) FloatingBtn.AnchorPoint = Vector2.new(0.5, 0.5) FloatingBtn.Position = UDim2.new(0.85, 0, 0.85, 0) FloatingBtn.Text = "Fy" FloatingBtn.Font = Enum.Font.GothamBold FloatingBtn.TextSize = 30 -- Ukuran teks FloatingBtn.TextColor3 = Color3.fromRGB(255, 255, 255) FloatingBtn.BackgroundColor3 = Color3.fromRGB(68, 68, 68) FloatingBtn.BackgroundTransparency = 0.5 FloatingBtn.Visible = false FloatingBtn.Parent = MainGUI local floatingCorner = Instance.new("UICorner") floatingCorner.CornerRadius = UDim.new(1, 0) floatingCorner.Parent = FloatingBtn local function startDrag(frame) local dragging = false local dragInput, dragStart frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = 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) UserInputService.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart frame.Position = UDim2.new( frame.Position.X.Scale, frame.Position.X.Offset + delta.X, frame.Position.Y.Scale, frame.Position.Y.Offset + delta.Y ) dragStart = input.Position end end) end startDrag(MainFrame) startDrag(FloatingBtn) local isDraggingFloating = false local dragStartFloating = nil FloatingBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then isDraggingFloating = false dragStartFloating = input.Position end end) FloatingBtn.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and dragStartFloating then if (input.Position - dragStartFloating).Magnitude > 10 then isDraggingFloating = true end end end) FloatingBtn.InputEnded:Connect(function(input) if (input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1) and not isDraggingFloating then MainFrame.Visible = true FloatingBtn.Visible = false end isDraggingFloating = false dragStartFloating = nil end) MinimizeBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then MainFrame.Visible = false FloatingBtn.Visible = true end end) CloseBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then MainFrame.Visible = false FloatingBtn.Visible = false end end) ExecuteBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then local scriptToRun = ScriptBox.Text local success, err = pcall(function() loadstring(scriptToRun)() end) if not success then warn("ERROR:", err) end MainFrame.Visible = true local Sound = Instance.new("Sound",game:GetService("SoundService")) Sound.SoundId = "rbxassetid://18595195017" Sound:Play() game:GetService("StarterGui"):SetCore("SendNotification",{ Title = "FyanExec [Info]", Text = "Script Loaded! is it safe? :/", Button1 = "Ok", Duration = 30 }) end end) ClearBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then ScriptBox.Text = "Insert Script Here" end end)