Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setting = settings().Network
- local Effect = Instance.new("ColorCorrectionEffect")
- Effect.Parent = game.Lighting
- Effect.Saturation = -1
- Effect.Brightness = 0
- Effect.Contrast = 0
- local Sound = Instance.new("Sound")
- Sound.Parent = game.Workspace
- Sound.SoundId = "rbxassetid://1055792303"
- toggle = false
- Effect.Enabled = false
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.RightControl then
- if toggle == false then
- Sound:Play()
- wait(2.25)
- setting.IncomingReplicationLag = 1000
- Effect.Enabled = true
- toggle = true
- else
- setting.IncomingReplicationLag = 0
- Effect.Enabled = false
- toggle = false
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement