Back to Scripts

impact frame type script keycode edition
ScriptBlox
Universal
Free
Game: Universal Script 📌
137
Views
0
Likes
0
Dislikes

imdisplayfrfr
offline
Features
an alternative version of https://scriptblox.com/script/Universal-Script-impact-frame-type-script-58917
requested by Figure_play https://scriptblox.com/u/Figure_play
Script Code
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)
Comments (0)
Please login to comment
Login with Discord
Loading comments...