script.Parent.Touched:connect(function(hit)
game.Lighting.ColorCorrection.TintColor = Color3.new (102, 102, 102)
end)
When I ran the game, and hit the block, the screen just went completely white. Is there a better way of doing this that I can learn? (I'm also new to coding so I don't know where to look for help)
Color3.new uses rgb values from 0-1
what you want to use is Color3.fromRGB, which uses rgb values from 0-255