CFrame Table Not Working?

I believe your problem is in this line:

	local TempCFrame = CFrame.new(Params[1], Params[2], Params[3]);

You’re basically trying to index a vector value to a CFrame. Try doing something along the lines of:

local TempCFrame = CFrame.new(Vector3.new(Params[1], Params[2], Params[3]));