So, i'm trying to make a gun, and therefore, there are several actions or movements that the gun shall do whenever it fires; So i tried doing everything, either lerp and such, So all i want is a 1 line of code that states and commands a brick to move smoothly, without using any welds perhaps? Let's do this for example:
local tool = script.parent
local part = tool.Part
m = "idle"
function fire()
if m == "idle" then m = "fire"
-- movement of the part..?
m = "idle"
end
tool.Activated:connect(fire)
Anybody can give me an idea about this?
