So I’ve been thinking about adding a Night vision goggle tool in my game, but I’ve got no idea on how to make that
So what I’ve been thinking is that, you hold out the tool and when you click the goggles move into your players head and gives a Night vision affect, and when you would unequip the tool the affect and the goggles would stay on your players head unless you equipped and click again which would remove the goggles and put it into the players hand.
I’ve basically looked everywhere for help and this was my last resort, can anybody please give me feedback and how I should make something like this!
I’m not really looking forward to a key bind because I don’t know how to make mobile support buttons, so that’s why I’m going for a tool that can be pulled out and wore
I think you would want to change the lighting to like yk brighter when the tool is activated (it means clicked but like it works on pc and mobile)
local lighting = game:GetService("Lighting")
local tool = script.Parent
tool.Equipped:Connect(function()
tool.Activated:Connect(function()
lighting.Brightness = 5
lighting.ColorCorrection.Contrast = 1 -- add a colorcorrection to lighting if you don't have it aleady.
end)
end)