Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Use the roblox animation editor, and https://www.roblox.com/library/171922549/Character-Creator-BETA to animate the slide moving back

0
How would I do this? I'm completely confused on this even after watching videos. Sergiomontani10 236 — 6y
Ad

Answer this question