The image above shows me aiming down sights, but the crosshair still shows but I wish for it not to be visible when am aiming because I have the sight attachment with it’s own red crosshair. As also revert it when the player is not aiming.
I have tried messing inside Gun Client script, but when I tried it wouldn’t give me a error or anything it just wouldn’t work. I checked every local script as I don’t think I would change the crosshair visibility inside a normal script
This isn’t a modded FE Gun Kit, its the original one if anyone want’s to know.
Aiming is handled by the PrimaryPart inside the gun’s GunClient script.
If you name that part AimPart you can use the following code to hide the crosshair. local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local character = player.Character
local tool = character:FindFirstChildWhichIsA(‘Tool’)
local client = tool:FindFirstChild(‘GunClient’)
local function setVisibility(visible)
client.AimPart.Crosshair.Visible = visible
end