Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(Key)
- if Key == "f" then
- local cc = Instance.new("ColorCorrectionEffect")
- cc.Parent = game.Lighting
- cc.Enabled = true
- cc.TintColor = Color3.new(200, 50, 50)
- cc.Contrast = 2
- cc.Brightness = 0
- cc.Saturation = 0
- for _, child in pairs(workspace:GetChildren()) do
- if child.Name ~= plr.Name then
- if child.ClassName == "Model" then
- for _, part in pairs(child:GetChildren()) do
- if part.ClassName == "Part" then
- part.Anchored = true
- end
- end
- end
- end
- end
- wait(10)
- for _, child in pairs(workspace:GetChildren()) do
- if child.Name ~= plr.Name then
- if child.ClassName == "Model" then
- for _, part in pairs(child:GetChildren()) do
- if part.ClassName == "Part" then
- part.Anchored = false
- end
- end
- end
- end
- cc:Destroy()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement