Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make the slide on the gun go back smoothly?

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 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.