script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then game.Lighting.ColorCorrection.Brightness = 0.4 game.Lighting.ColorCorrection.Contrast = 1 game.Lighting.ColorCorrection.TintColor = Color3.fromRGB(29,28,255) game.Lighting.ColorCorrection.Saturation = -1 game.Lighting.ClockTime = 6.3 end end)
script.Parent.TouchedEnded:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid")then game.Lighting.ColorCorrection.TintColor = Color3.fromRGB(0,0,0) end end)
script.Parent.TouchEnded:Connect(function() print('the player is not on the part anymore') end)