im trying to make a suppression effect when a player fires the AK-47.
for some reason nothing happens?
there is no gui popping up like there should be.
no known solution
image:
blinkenable:
local gui = game.StarterGui.Blink.BlinkScript
if game.ReplicatedStorage.ACS_Engine.GunModels.Server["AK-47"].Grip.Fire.IsPlaying then
gui.Enabled = true
wait(1)
gui.Enabled = false
end
if game.ReplicatedStorage.ACS_Engine.GunModels.Server["AK-47"].Grip.Fire2.IsPlaying then
gui.Enabled = true
wait(1)
gui.Enabled = false
end
BlinkScript:
local Gui = script.Parent.EyeLid
while true do
Gui.BackgroundTransparency = 0.99
wait(0.1)
Gui.Visible = true
Gui.BackgroundTransparency = 0.1
wait(0.1)
Gui.BackgroundTransparency = 0.2
wait(0.1)
Gui.BackgroundTransparency = 0.3
wait(0.1)
Gui.BackgroundTransparency = 0.4
wait(0.1)
Gui.BackgroundTransparency = 0.5
wait(0.1)
Gui.BackgroundTransparency = 0.6
wait(0.1)
Gui.BackgroundTransparency = 0.7
wait(0.1)
Gui.BackgroundTransparency = 0.8
wait(0.1)
Gui.BackgroundTransparency = 0.9
wait(0.1)
Gui.BackgroundTransparency = 0
end