Advertisement
deadropz

Stop Time

Dec 18th, 2017
4,773
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local mouse = plr:GetMouse()
  3.  
  4. mouse.KeyDown:connect(function(Key)
  5. if Key == "f" then
  6. local cc = Instance.new("ColorCorrectionEffect")
  7. cc.Parent = game.Lighting
  8. cc.Enabled = true
  9.  
  10. cc.TintColor = Color3.new(200, 50, 50)
  11. cc.Contrast = 2
  12. cc.Brightness = 0
  13. cc.Saturation = 0
  14. for _, child in pairs(workspace:GetChildren()) do
  15. if child.Name ~= plr.Name then
  16. if child.ClassName == "Model" then
  17. for _, part in pairs(child:GetChildren()) do
  18. if part.ClassName == "Part" then
  19. part.Anchored = true
  20. end
  21. end
  22. end
  23. end
  24. end
  25. wait(10)
  26. for _, child in pairs(workspace:GetChildren()) do
  27. if child.Name ~= plr.Name then
  28. if child.ClassName == "Model" then
  29. for _, part in pairs(child:GetChildren()) do
  30. if part.ClassName == "Part" then
  31. part.Anchored = false
  32. end
  33. end
  34. end
  35.  
  36. end
  37. cc:Destroy()
  38. end
  39. end
  40. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement