Local script:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Button2Down:Connect(function()
script.Parent.Parent.PlayerGui.ScreenGui.ImageLabel.Visible = true --this makes it true so it then is visible
end)
mouse.Button2Up:Connect(function()
script.Parent.Parent.PlayerGui.ScreenGui.ImageLabel.Visible = false
end)

1 comment
I want to make it so you have to equip a certain weapon for this script to run