local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Name = "GFPrankGui" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local main = Instance.new("Frame") main.Size = UDim2.fromOffset(360, 220) main.Position = UDim2.fromScale(0.5, 0.5) main.AnchorPoint = Vector2.new(0.5, 0.5) main.BackgroundColor3 = Color3.fromRGB(35, 35, 42) main.BackgroundTransparency = 0.3 main.BorderSizePixel = 0 main.Parent = gui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 14) mainCorner.Parent = main local topBar = Instance.new("Frame") topBar.Size = UDim2.new(1, 0, 0, 38) topBar.BackgroundColor3 = Color3.fromRGB(35, 125, 235) topBar.BorderSizePixel = 0 topBar.Parent = main local topCorner = Instance.new("UICorner") topCorner.CornerRadius = UDim.new(0, 14) topCorner.Parent = topBar local bottomCover = Instance.new("Frame") bottomCover.Size = UDim2.new(1, 0, 0, 14) bottomCover.Position = UDim2.new(0, 0, 1, -14) bottomCover.BackgroundColor3 = Color3.fromRGB(35, 125, 235) bottomCover.BorderSizePixel = 0 bottomCover.Parent = topBar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -45, 1, 0) title.Position = UDim2.fromOffset(12, 0) title.BackgroundTransparency = 1 title.Text = "Prank" title.TextColor3 = Color3.new(1, 1, 1) title.TextSize = 17 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = topBar local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(24, 24) close.Position = UDim2.new(1, -30, 0, 7) close.BackgroundTransparency = 1 close.Text = "X" close.TextColor3 = Color3.new(1, 1, 1) close.TextSize = 14 close.Font = Enum.Font.GothamBold close.Parent = topBar local question = Instance.new("TextLabel") question.Size = UDim2.new(1, -30, 0, 50) question.Position = UDim2.fromOffset(15, 58) question.BackgroundTransparency = 1 question.Text = "ARE YOU GF WITH ME?" question.TextColor3 = Color3.new(1, 1, 1) question.TextSize = 24 question.Font = Enum.Font.GothamBold question.Parent = main local yes = Instance.new("TextButton") yes.Size = UDim2.fromOffset(125, 42) yes.Position = UDim2.new(0.5, -140, 1, -60) yes.BackgroundColor3 = Color3.fromRGB(45, 190, 90) yes.Text = "YES" yes.TextColor3 = Color3.new(1, 1, 1) yes.TextSize = 18 yes.Font = Enum.Font.GothamBold yes.BorderSizePixel = 0 yes.Parent = main local yesCorner = Instance.new("UICorner") yesCorner.CornerRadius = UDim.new(0, 10) yesCorner.Parent = yes local no = Instance.new("TextButton") no.Size = UDim2.fromOffset(125, 42) no.Position = UDim2.new(0.5, 15, 1, -60) no.BackgroundColor3 = Color3.fromRGB(220, 65, 65) no.Text = "NO" no.TextColor3 = Color3.new(1, 1, 1) no.TextSize = 18 no.Font = Enum.Font.GothamBold no.BorderSizePixel = 0 no.Parent = main local noCorner = Instance.new("UICorner") noCorner.CornerRadius = UDim.new(0, 10) noCorner.Parent = no local popup = Instance.new("TextLabel") popup.Size = UDim2.fromOffset(300, 65) popup.Position = UDim2.fromScale(0.5, 0.5) popup.AnchorPoint = Vector2.new(0.5, 0.5) popup.BackgroundColor3 = Color3.fromRGB(25, 25, 30) popup.BackgroundTransparency = 0.1 popup.TextColor3 = Color3.new(1, 1, 1) popup.TextSize = 20 popup.Font = Enum.Font.GothamBold popup.Text = "I KNEW IT! 😂" popup.Visible = false popup.ZIndex = 10 popup.Parent = gui local popupCorner = Instance.new("UICorner") popupCorner.CornerRadius = UDim.new(0, 12) popupCorner.Parent = popup local function moveNoButton() local maxX = main.AbsoluteSize.X - no.AbsoluteSize.X - 10 local maxY = main.AbsoluteSize.Y - no.AbsoluteSize.Y - 48 local x = math.random(10, math.max(10, maxX)) local y = math.random(48, math.max(48, maxY)) no.Position = UDim2.fromOffset(x, y) end no.MouseButton1Click:Connect(function() moveNoButton() end) yes.MouseButton1Click:Connect(function() popup.Visible = true main.Visible = false task.wait(2) popup.Visible = false main.Visible = true no.Position = UDim2.new(0.5, 15, 1, -60) end) close.MouseButton1Click:Connect(function() gui:Destroy() end)