local Players = game:GetService("Players") local Lighting = game:GetService("Lighting") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local flashEffect = Instance.new("ColorCorrectionEffect") flashEffect.Name = "flashbang" flashEffect.Brightness = 3 flashEffect.Contrast = 5 flashEffect.Saturation = 1 flashEffect.Parent = Lighting flashEffect.Enabled = false local highlight = Instance.new("Highlight") highlight.Adornee = character highlight.FillColor = Color3.new(0, 0, 0) highlight.OutlineColor = Color3.new(0, 0, 0) highlight.FillTransparency = 0 highlight.OutlineTransparency = 0 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop highlight.Parent = character highlight.Enabled = false local enabled = false local figuretoggle = Enum.KeyCode.F UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == figuretoggle then enabled = not enabled flashEffect.Enabled = enabled highlight.Enabled = enabled end end)