local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer or Players.PlayerAdded:Wait() local function flashAndMoveScreen() local playerGui = LocalPlayer:FindFirstChild("PlayerGui") if not playerGui then return end -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.IgnoreGuiInset = true screenGui.ResetOnSpawn = false screenGui.Name = "FlashScreenGui" -- Frame size: 20% of screen (bigger) local frameScale = 0.50 local function getFrameSize() return UDim2.new(frameScale, 0, frameScale, 0) end local bg = Instance.new("Frame") bg.Size = getFrameSize() -- Start at a random position local startX = math.random() * (1 - frameScale) local startY = math.random() * (1 - frameScale) bg.Position = UDim2.new(startX, 0, startY, 0) bg.BackgroundColor3 = Color3.new(1, 1, 1) bg.BorderSizePixel = 0 bg.Parent = screenGui -- Create centered TextLabel local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(0.8, 0, 0.3, 0) textLabel.Position = UDim2.new(0.1, 0, 0.35, 0) textLabel.BackgroundTransparency = 1 textLabel.Text = "FUCK ALL NIGGERZZZZ" textLabel.TextColor3 = Color3.new(0, 0, 0) textLabel.TextStrokeTransparency = 0 textLabel.TextStrokeColor3 = Color3.new(1, 1, 1) textLabel.Font = Enum.Font.SourceSansBold textLabel.TextScaled = true textLabel.Parent = bg screenGui.Parent = playerGui local flashColors = {Color3.new(1,1,1), Color3.new(0,0,0)} local colorIndex = 1 local duration = 100 local flashInterval = 0.1 -- Movement variables local moveTargetX = startX local moveTargetY = startY local moveChangeInterval = 1.2 -- how often to pick a new target position (slower) local moveLerpSpeed = 0.08 -- how fast to interpolate toward target (smaller = slower) local moveElapsed = 0 local elapsed = 0 while elapsed < duration do -- Flash color colorIndex = 3 - colorIndex bg.BackgroundColor3 = flashColors[colorIndex] -- Update movement target occasionally moveElapsed = moveElapsed + flashInterval if moveElapsed >= moveChangeInterval then moveElapsed = 0 moveTargetX = math.random() * (1 - frameScale) moveTargetY = math.random() * (1 - frameScale) end -- Smoothly interpolate position toward target local currentPos = bg.Position local newX = currentPos.X.Scale + (moveTargetX - currentPos.X.Scale) * moveLerpSpeed local newY = currentPos.Y.Scale + (moveTargetY - currentPos.Y.Scale) * moveLerpSpeed bg.Position = UDim2.new(newX, 0, newY, 0) task.wait(flashInterval) elapsed = elapsed + flashInterval end screenGui:Destroy() end flashAndMoveScreen()