local UIS = game:GetService('UserInputService')
local Player = game.Players.LocalPlayer
local Character = Player.Character
UIS.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.C then
local Color = (Instance.new("ColorCorrectionEffect"))
Color.Name = "BlackAndWhite"
Color.Brightness = 0
Color.Contrast = 0
Color.Enabled = true
Color.Saturation = -1
Color.TintColor = Color3.fromRGB(255,255,255)
Color.Parent = game.Lighting
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://YourOwnID'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim:Play()
end
end)
UIS.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.C then
PlayAnim:Stop()
end
end)
so thats my script in characterscripts but idk how to disable it under the (input.KeyCode ==Enum.KeyCode.C then) idk what to do to disable the lighting effect

1 comment
delete it