Hey, I am super confused why my code is not running after the .Activated event.
elseif RunService:IsClient() then
local Player = game.Players.LocalPlayer
local Character = PlayerAdded(Player)
local Humanoid = Character:FindFirstChild("Humanoid")
-- IT GETS PAST THE VARIABLES; NVG IS CONFIRMED TO BE A TOOL!
self._Maid:GiveTask(
self.NVG.Activated:Connect(function()
-- I CLICK AND NOTHING SEEMS TO HAPPEN??? NOT EVEN A PRINT EVEN RUNS HERE.
Equip:FireServer(Player)
UserInputService.InputBegan:Connect(function(...)
self:Pressed(...)
end)
end)
)
Okay, so I actually don’t know the exact problem, but there might be a GUI or something that is messing up the screen and not allowing the mouse button clicks to be received.
It does fire the event from a direct reference. I would say that it could be that I am using CollectionService to get the NVG, but I always use CollectionService and it works fine.