I'm making a tool with multiple modes, would this be sufficent?
local mode = script.Parent.Mode
if mode.Value== 1 then
--Do stuff
elseif mode.Value == 2 then
--do stuff
elseif mode.Value == 3 then
-- do stuff
elseif mode.Value == 4 then
-- do stuff
end
Would this cause a problem, in my tool? I'm still learning, I just posted this question as a precaution. Thanks

2 comments
So, what's going to set the newMode parameter?
Are you new to functions? You'd do changeMode(1). Idiot.