Adding a prefix to a name in a script

So i want to be able to Play a different animation depending on the value and i dont want to use alot of ifs so i just want to be able to add a prefix, for example
if you did PlayAnim(Idle,0.2,true) it would see that you want to do the idle animation so it would do Idle:Play(0.2) but if the other value was true it would be like PrefixIdle:Play(0.2)

local function PlayAnim(animation,FT,playing)
	if playing == true then
		if stance.Value == false then
			--goofy
			animation:Play(FT)
		else
			'regular'..animation:Play(FT)
			
		end
	else
		if stance.Value == false then
			animation:Stop()
		else
			animation:Stop()
		end
	end
		
end

heres my code