I have been trying to figure out how to make the slide on my gun go back smoothly with no lag but have no idea how to. This is the closest I got to, my game is FE and the script works but just stutters alot due to the script using transparency. Is there a better way to do this?
Draw.OnServerEvent:connect(function(Eqquiped)
script.Parent.SlideA.Transparency = 1
script.Parent.SlideMiddle.Transparency = 0
wait(0.1)
script.Parent.SlideMiddle.Transparency = 1
script.Parent.SlideB.Transparency = 0
wait(0.1)
script.Parent.SlideB.Transparency = 1
script.Parent.SlideA.Transparency = 0
end)

1 comment
How would I do this? I'm completely confused on this even after watching videos.